Raw ETags should be quoted

Jonathan Lee jonathan_lee at comcast.com
Wed Feb 3 22:47:26 EST 2010


According to rfc2616, etags should be quoted:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11

Here's a small patch to the raw interface to add quotes.  Note, that
this also requires a change to webmachine.  Since the etag definition
includes the quotes, the request etag should not be unquoted before
comparison.

This change should be backwards compatible in Riak since the quotes
are added while outputting the etag.

- Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quote_etag.diff
Type: application/octet-stream
Size: 2171 bytes
Desc: not available
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100203/f5635468/attachment.diff>


More information about the riak-users mailing list