Stephane Alnet created COUCHDB-1555:
---------------------------------------

             Summary: Let _list generate its own Etag
                 Key: COUCHDB-1555
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1555
             Project: CouchDB
          Issue Type: Improvement
          Components: View Server Support
    Affects Versions: 1.2, 1.3
            Reporter: Stephane Alnet


As described in COUCHDB-1155, if a _list function generates dynamic content 
that is not idempotent with regards to the parameters used by to generate the 
Etag, there is no valid way for that function to specify an alternate Etag.

The present request is to allow such functions to either (a) send back an Etag 
header which will supersede the Etag header computed by the view server and 
will be used as the opaque Etag string of RFC2616 section 3.11 [1], or (b) 
allow the function to send back some value that will be combined with the other 
(existing) Etag parameters to compute the Etag header, or (c) send back a flag 
indicating that the Etag header should be computed based on the output of the 
function, not the regular Etag parameters.

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to