couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-190) _uuid should respond to GET, not POST
Date Mon, 09 Feb 2009 15:23:00 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671893#action_12671893
] 

Jan Lehnardt commented on COUCHDB-190:
--------------------------------------

>From dev@;

The patch looks solid assuming that using a date from 1900 is kosher.
Getting it accepted means waiting for one of the devs to go on a close
out spree. Its on the blocking list so don't worry about it missing
0.9

HTH,
Paul Davis



> _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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message