summaryrefslogtreecommitdiff
path: root/gitweb/git-favicon.png
diff options
context:
space:
mode:
authorLea Wiemann <lewiemann@gmail.com>2008-06-19 22:03:21 +0200
committerJunio C Hamano <gitster@pobox.com>2008-06-19 17:43:58 -0700
commit074afaa0cf69e7d49bc00d969f57893c9ddea748 (patch)
tree86e3a164d578ebbcb49bca39fbced145b89abec7 /gitweb/git-favicon.png
parente449f105805ffa49ccf7cf080db897ecf65a1a0f (diff)
downloadgit-074afaa0cf69e7d49bc00d969f57893c9ddea748.tar.gz
gitweb: standarize HTTP status codes
Many error status codes simply default to 403 Forbidden, which is not correct in most cases. This patch makes gitweb return semantically correct status codes. For convenience the die_error function now only takes the status code without reason as first parameter (e.g. 404 instead of "404 Not Found"), and it now defaults to 500 (Internal Server Error), even though the default is not used anywhere. Also documented status code conventions in die_error. Signed-off-by: Lea Wiemann <LeWiemann@gmail.com> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/git-favicon.png')
0 files changed, 0 insertions, 0 deletions