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

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 UTC