W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2013

Re: [HTTP/1.1] method length and 501 Not Implemented

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 13 Mar 2013 00:19:31 +0100
To: Karl Dubost <karl@la-grange.net>
Cc: IETF HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <uhdvj89h9qo7pkmki5i3a4q3phq7qe5ris@hive.bjoern.hoehrmann.de>
* Karl Dubost wrote:
>in "3.1.1.  Request Line"
>http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-22#section-3.1.1
>There is a strange sentence:
>
>   HTTP does not place a pre-defined limit on the length of a request-
>   line.  A server that receives a method longer than any that it
>   implements SHOULD respond with a 501 (Not Implemented) status code.

>[...] but then why not for a 2 characters long method like
>
>	YO

The text above discusses length limits and reactions to them; it is not
meant to say anything about other reasons for sending 501. If the server
does not recognise the "YO" method then it should also reply with 501,
as per the definition of the 501 status code.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 12 March 2013 23:20:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 12 March 2013 23:20:04 GMT