You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Sam Bisbee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/22 05:40:48 UTC

[jira] [Closed] (COUCHDB-190) _uuid should respond to GET, not POST

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

Sam Bisbee closed COUCHDB-190.
------------------------------


Resolved for a while. Closing.
                
> _uuid should respond to GET, not POST
> -------------------------------------
>
>                 Key: COUCHDB-190
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-190
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 0.9
>            Reporter: Matt Goodall
>            Priority: Blocker
>             Fix For: 0.9
>
>         Attachments: COUCH-190.diff
>
>
> The /_uuid resource can happily return a response to a GET without being unresty. In fact, supporting POST is probably incorrect as it implies it would change server state.
> Quick summary:
> * _uuid never changes server state
> * calling _uuid multiple times does not impact other clients
> * that the resource returns something different each time it is requested does not mean it cannot be a POST
> * GET with proper cache control (i.e. don't cache it ever) will work equally well
> Full discussion can be found on the user m.l., http://mail-archives.apache.org/mod_mbox/couchdb-user/200901.mbox/%3C21939021.1440421230910477169.JavaMail.servlet@perfora%3E.

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