[PATCH v2] http-backend: provide Allow header for 405

2013-09-11 Thread brian m. carlson
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

Re: [PATCH v2] http-backend: provide Allow header for 405

2013-09-11 Thread Jonathan Nieder
brian m. carlson wrote: Signed-off-by: brian m. carlson sand...@crustytoothpaste.net Thanks again for noticing. For what it's worth, Reviewed-by: Jonathan Nieder jrnie...@gmail.com -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to

Re: [PATCH v2] http-backend: provide Allow header for 405

2013-09-11 Thread Jeff King
On Thu, Sep 12, 2013 at 12:30:01AM +, brian m. carlson wrote: 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