W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2007

Re: Semantic meaning of double quotation marks delimiting quoted-string

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sun, 28 Oct 2007 19:32:39 +0100
Message-ID: <4724D5C7.3040502@gmx.de>
To: Geoffrey Sneddon <foolistbar@googlemail.com>
CC: ietf-http-wg@w3.org

Geoffrey Sneddon wrote:
> 
> Hi,
> 
> Earlier today I posted 
> <http://gsnedders.com/http-entity-tags-confusion>, and having discussed 
> it with various people, have concluded that it'd be best addressed by 
> RFC 2616bis.
> 
> In short, the post raises the issue of the meaning of double quotes. If 
> you parse them out, you end up with Etag: W/"a" and Etag: "W/a" 
> equivalent. If you don't, you can end up with character sets such as 
> "UTF-8" (i.e., including the quotation marks) in headers like 
> Content-Type: text/plain;charset="UTF-8". What is the expected behaviour 
> for quoted-string (or, if need be, for each and every specification that 
> uses quoted-string)?
> ...

The simple answer is: the double quotes are part of the entity tag. So a 
response header such as

	ETag: x

would simply be invalid and should be ignored.

Best regards, Julian

(PS: I wouldn't be opposed to making that more obvious)
Received on Sunday, 28 October 2007 18:32:56 GMT

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