Re: [PATCH v2] http-backend: provide Allow header for 405
- From
Jeff King <peff@peff.net>
- Date
- Sep 12, 2013, 04:46 UTC
- Message-ID
- <20130912044637.GA1356@sigill.intra.peff.net>
- In-Reply-To
- <1378945801-122021-1-git-send-email-sandals@crustytoothpaste.net>
On Thu, Sep 12, 2013 at 12:30:01AM +0000, brian m. carlson wrote:
Show 8 quoted lines
> 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>
Thanks, this looks good to me.
-Peff