summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorLibravatar Brian M. Carlson <sandals@crustytoothpaste.net>2013-09-12 00:30:01 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-12 08:44:44 -0700
commit9247be05cf686dc98dd504f8f9fb0f07da1a29d1 (patch)
treef689ed3320df6a2a69796929e5cf3f19c855d5f2 /perl
parentDocumentation/git-merge.txt: fix formatting of example block (diff)
downloadtgif-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 'perl')
0 files changed, 0 insertions, 0 deletions