[11010] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: Q re draft 08's Accept-Encoding

daemon@ATHENA.MIT.EDU (Koen Holtman)
Mon Oct 6 15:23:24 1997

From: koen@win.tue.nl (Koen Holtman)
To: havill@threeweb.ad.jp (Adrian Havill)
Date: Mon, 6 Oct 1997 20:38:21 +0200 (MET DST)
Cc: www-talk@w3.org, http-wg@cuckoo.hpl.hp.com
In-Reply-To: <342208D0.3C70C288@threeweb.ad.jp> from "Adrian Havill" at Sep 19, 97 02:08:33 pm
Resent-From: www-talk@w3.org

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.



home help back first fref pref prev next nref lref last post