about summary refs log tree commit diff
path: root/tests/t0020-validate-cache.sh
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-08-14 12:47:09 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-08-14 15:46:51 +0200
commitfd00e71ab7cf1eabd8d1fc2e5980055350849034 (patch)
tree0f206d7e919bcd301f17278fd0e9c37fb2559a12 /tests/t0020-validate-cache.sh
parentsnapshot: use cgit_print_error_page() for HTTP status codes (diff)
downloadcgit-pink-fd00e71ab7cf1eabd8d1fc2e5980055350849034.tar.gz
cgit-pink-fd00e71ab7cf1eabd8d1fc2e5980055350849034.zip
snapshot: don't reimplement cgit_print_error_page()
cgit_print_error_page() has the advantage that it sets a suitable HTTP
status code for the response.  Note that setting "mimetype" is redundant
here since it cannot have changed since being initialized in
cgit.c::prepare_context(), so we do not need to worry that
cgit_print_error_page() does not set it.

Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'tests/t0020-validate-cache.sh')
0 files changed, 0 insertions, 0 deletions
2019-05-18Add compound assignment operators to orderJune McEnroe 2019-05-15Support simple assignment in orderJune McEnroe 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe 2019-05-10Use val instead of suboptargJune McEnroe 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe