W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2005

Erratum in RFC 2616

From: Brian Kell <abodeman@yahoo.com>
Date: Thu, 02 Jun 2005 08:44:00 -0500
Message-ID: <429F0D20.3000306@yahoo.com>
To: ietf-http-wg@w3.org

In section 14.3, the definition of Accept-Encoding is given as follows:

       Accept-Encoding  = "Accept-Encoding" ":"
                          1#( codings [ ";" "q" "=" qvalue ] )

This definition implies that there must be at least one non-null 
codings. However, just below this definition, one of the examples given 
has an empty Accept-Encoding field-value:

       Accept-Encoding: compress, gzip
       Accept-Encoding:
       Accept-Encoding: *
       Accept-Encoding: compress;q=0.5, gzip;q=1.0
       Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0

Furthermore, the fourth rule for testing whether a content-coding is 
acceptable mentions the possibility that the field-value may be empty.

It seems, then, that the definition for Accept-Encoding should be revised:

       Accept-Encoding  = "Accept-Encoding" ":"
                          #( codings [ ";" "q" "=" qvalue ] )

Brian Kell
abodeman@yahoo.com
Received on Thursday, 2 June 2005 13:44:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:40 GMT