Re: Q re draft 08's Accept-Encoding

Adrian Havill:
>
>On page 107 of
><URL:http://www.w3.org/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-08.txt> the
>syntax diagram lists:
>
>Accept-Encoding  = "Accept-Encoding" ":" 1#( codings [ ";" "q" "=" qvalue ] )
>codings          = ( content-codings | "*" )
>
>But then goes on to list the examples:
>
>Accept-Encoding: compress, gzip
>Accept-Encoding:
>Accept-Encoding: *
>Accept-Encoding: compress;q=0.5, gzip;q=1.0
>Accept-Encoding: gzip=1.0; identity=0.5; *;q=0
>
>Is example 2 legal according to the syntax above? I assumed the "1#" meant 
>"one or more."

Example 2 above is correct, the syntax is incorrect.  The syntax line
should have read

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

I'll make sure that this problem gets added to the editor's to do list.

>Adrian Havill <URL:http://www.threeweb.ad.jp/>

Koen.

Received on Monday, 6 October 1997 11:47:01 UTC