#306: does etag value really use quoted-string

<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.

Whereas in other places this is a presentation issue, with ETags, this is a more serious interop issue.

Consider a response with:

ETag: "\a"

And a subsequent request:

PUT /foo
If-Match: "a"

Proposal:

Re-specify ETags as a new ABNF construct separate to quoted-string, where \ is not an escape character. By their nature, they cannot contain a double-quote character.


--
Mark Nottingham   http://www.mnot.net/

Received on Tuesday, 26 July 2011 19:59:41 UTC