X-Couch-Update-NewRev vs ETag and ETag vs "ETag"
-------------------------------------------------
Key: COUCHDB-1298
URL: https://issues.apache.org/jira/browse/COUCHDB-1298
Project: CouchDB
Issue Type: Improvement
Components: Database Core
Affects Versions: 1.2
Reporter: gert cuykens
Priority: Trivial
There are two inconsistencies
1) The use of ETag vs X-Couch-Update-NewRev
2) The use of "..." around the rev number
PUT /users/_design/user/_update/form/gert HTTP/1.1
Host: 127.0.0.1:5984
HTTP/1.1 201 Created
X-Couch-Update-NewRev: 245-2ddebfc32429bc723cb20543a97d3598
Server: CouchDB/1.3.0a-f07c75f-git (Erlang OTP/R13B03)
Date: Wed, 28 Sep 2011 15:49:49 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 8
PUT /users/gert/picture.png HTTP/1.1
Host: 127.0.0.1:5984
HTTP/1.1 201 Created
Server: CouchDB/1.3.0a-f07c75f-git (Erlang OTP/R13B03)
Location: http://127.0.0.1:5984/users/gert/picture.png
ETag: "246-f1291707f1827ef38217972ea1f3824c"
Date: Wed, 28 Sep 2011 15:50:25 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 69
Cache-Control: must-revalidate
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira