W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1997

Re: Q re draft 08's Accept-Encoding

From: Koen Holtman <koen@win.tue.nl>
Date: Mon, 6 Oct 1997 20:38:21 +0200 (MET DST)
Message-Id: <199710061838.UAA14337@wsooti08.win.tue.nl>
To: havill@threeweb.ad.jp (Adrian Havill)
Cc: www-talk@w3.org, http-wg@cuckoo.hpl.hp.com
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 14:43:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:23 GMT