W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2012

Status Line Syntax production/parsing

From: Karl Dubost <karld@opera.com>
Date: Tue, 28 Aug 2012 14:29:15 -0400
Message-Id: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Hi,

(a naive question)
The syntax for the status-line of an HTTP response message is

    status-line = HTTP-version SP status-code SP reason-phrase CRLF
     http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-3.1.2

Then about the reason-phrase

   The reason-phrase element exists for the sole purpose of providing a
   textual description associated with the numeric status code, mostly
   out of deference to earlier Internet application protocols that were
   more frequently used with interactive text clients.  A client SHOULD
   ignore the reason-phrase content.

     reason-phrase  = *( HTAB / SP / VCHAR / obs-text )


I was wondering if there are any issues with status-line of the form:

    status-line = HTTP-version SP status-code SP

OR

    status-line = HTTP-version SP status-code



-- 
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software
Received on Tuesday, 28 August 2012 18:29:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 August 2012 18:30:00 GMT