From: Jeff King Date: Thu, 12 Sep 2013 04:46:37 GMT Subject: Re: [PATCH v2] http-backend: provide Allow header for 405 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: > 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 Thanks, this looks good to me. -Peff