couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Goodall (JIRA)" <>
Subject [jira] Created: (COUCHDB-190) _uuid should respond to GET, not POST
Date Sat, 03 Jan 2009 15:11:44 GMT
_uuid should respond to GET, not POST

                 Key: COUCHDB-190
             Project: CouchDB
          Issue Type: Improvement
          Components: Database Core
    Affects Versions: 0.9
            Reporter: Matt Goodall

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

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

View raw message