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

* 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 UTC