W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2011

Re: #306: does etag value really use quoted-string

From: Mark Nottingham <mnot@mnot.net>
Date: Fri, 29 Jul 2011 08:21:47 -0700
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <6A0E1E37-3B7C-4758-AD6C-CA7530D6D015@mnot.net>
To: Yves Lafon <ylafon@w3.org>
Thanks, Yves. Seems to support the change...

Cheers,


On 27/07/2011, at 6:22 AM, Yves Lafon wrote:

> On Tue, 26 Jul 2011, Mark Nottingham wrote:
> 
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/306>
>> 
>> As discussed in the meeting today, ETags are specified as quoted-string, but many implementations do not treat them as such; e.g., they don't handle \-escaping.
> 
> Here are some tests done using INM:
> 
> When resource received has ETag: "foo"
> 
> Apache 2.2:
> INM: "foo"        => 304 OK
> INM: "fo\o"       => 200
> INM: "foo\"       => 200 OK
> INM: "fo\o","foo" => 304 OK
> INM: "foo\","foo" => 200 OK
> 
> MS IIS 7.5:
> INM: "foo"        => 304 OK
> INM: "fo\o"       => 200
> INM: "foo\"       => 200 OK
> INM: "fo\o","foo" => 304 OK
> INM: "foo\","foo" => 304 (meaning they are not escaping " in the quoted
>                           string)
> Jigsaw:
> INM: "foo"        => 304 OK
> INM: "fo\o"       => 304 OK
> INM: "foo\"       => 200 OK
> INM: "fo\o","foo" => 304 OK
> INM: "foo\","foo" => 200 OK
> 
> 
> -- 
> Baroula que barouleras, au tiéu toujou t'entourneras.
> 
>        ~~Yves
> 

--
Mark Nottingham   http://www.mnot.net/
Received on Friday, 29 July 2011 15:22:12 GMT

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