couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gert cuykens (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1298) X-Couch-Update-NewRev vs ETag and ETag vs "ETag" and Content-Type
Date Wed, 28 Sep 2011 16:26:45 GMT

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

gert cuykens updated COUCHDB-1298:
----------------------------------

    Summary: X-Couch-Update-NewRev vs ETag and ETag vs "ETag" and Content-Type  (was: X-Couch-Update-NewRev
vs ETag and ETag vs "ETag" )
    
> X-Couch-Update-NewRev vs ETag and ETag vs "ETag" and Content-Type
> -----------------------------------------------------------------
>
>                 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
>              Labels: couchdb
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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
> Pleas always use ETag without "..."
> When a new document is been created, also use ETag because its already indicated by status
201, no need for special headers.
> Also note Content-Type: is different, see the space between ;...charset

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

        

Mime
View raw message