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>

(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

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


    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 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:31 UTC