Re: Erratum in RFC 2616

On Thu, 2005/06/02 (MDT), <abodeman@yahoo.com> wrote:

> 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 ] )

Yes, looks like a bug to me.

Thank you,

Alex.

Received on Friday, 3 June 2005 02:54:45 UTC