diff options
author | Brian M. Carlson <sandals@crustytoothpaste.net> | 2013-09-12 00:30:01 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-12 08:44:44 -0700 |
commit | 9247be05cf686dc98dd504f8f9fb0f07da1a29d1 (patch) | |
tree | f689ed3320df6a2a69796929e5cf3f19c855d5f2 /gitweb/static/js/blame_incremental.js | |
parent | Documentation/git-merge.txt: fix formatting of example block (diff) | |
download | tgif-9247be05cf686dc98dd504f8f9fb0f07da1a29d1.tar.xz |
http-backend: provide Allow header for 405
The HTTP 1.1 standard requires an Allow header for 405 Method Not Allowed:
The response MUST include an Allow header containing a list of valid methods
for the requested resource.
So provide such a header when we return a 405 to the user agent.
Signed-off-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/blame_incremental.js')
0 files changed, 0 insertions, 0 deletions