W3C home > Mailing lists > Public > www-talk@w3.org > September to October 2005

Reason-Phrase Null vs Required [from non-member]

From: Robert White <rwhite@casabyte.com>
Date: Mon, 03 Oct 2005 17:25:35 -0700
Message-ID: <4341CBFF.8050701@casabyte.com>
To: www-talk@w3.org

Howdy,

RFC2616 section 6 has the following BNF:

Reason-Phrase  = *<TEXT, excluding CR, LF>

While the plain-text says "The reason phrases listed here are only 
recommendations -- they MAY be replaced by local equivalents without 
affecting the protocol"

 From my understanding of "MAY", and from the absence of any mention of 
words like omitted or empty, the plain text implies that the BNF should be:

Reason-Phrase  = 1*<TEXT, excluding CR, LF>

Is an empty reason phrase allowed by the BNF on purpose or is it a typo 
that the 1 (or similar value) is missing?

Since trailing white space is not significant in MIME, the possibility 
of transmitting "HTTP/1.1_200_" (one trailing space) in tact, which is 
the required minimum parsing of the outer BNF, is somewhat uncertain by 
some readings to say the least.

Is there any official clarification of this conflict in the spec?

Robert White,
Casabyte, Inc.
Received on Tuesday, 4 October 2005 02:02:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:28 GMT