You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Christopher Lenz (JIRA)" <ji...@apache.org> on 2008/04/15 22:10:21 UTC

[jira] Resolved: (COUCHDB-13) ETags in response headers do not follow the spec

     [ https://issues.apache.org/jira/browse/COUCHDB-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Lenz resolved COUCHDB-13.
-------------------------------------

    Resolution: Fixed

Now that the mochiweb branch has been merged back into trunk, this is fixed.

> ETags in response headers do not follow the spec
> ------------------------------------------------
>
>                 Key: COUCHDB-13
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-13
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Noah Slater
>            Priority: Minor
>         Attachments: couchdb.patch
>
>
> What steps will reproduce the problem?
> 1. Request a document
> 2. See for yourself :)
> What is the expected output? What do you see instead?
> Expected is
> a) that the header name is "ETag", not "Etag"
> b) that the value is a quoted string
> Incorrect actual value example:
> Etag: 2184611109
> Correct expected value example:
> ETag: 2184611109
> What version of the product are you using? On what operating system?
> trunk r591, Mac OS X 10.5.0
> Please provide any additional information below.
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11
> --
> Comment 1 by dzuelke, Nov 16, 2007
> Bah, of course the expected value is
> ETag: "2184611109"
> with quotes.
> --
> Comment 2 by nslater, Nov 17, 2007
> Note: The case of a HTTP header is not important.
> It can be "etag", "Etag", "ETag", "eTag", "etAg" or any other combination.
> The only thing that needs to change here are the quotes.
> --
> Comment 3 by dzuelke, Nov 17, 2007
> Granted, header field names are case insensitive, but I guess it cannot hurt to stick to the spec, which uses 
> "ETag" :)
> --
> Comment 4 by aristid....@gmx.de, Jan 26, 2008
> A fix relative to rev 640 is attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.