incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list
Date Tue, 05 Oct 2010 16:03:33 GMT

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

Paul Joseph Davis commented on COUCHDB-891:
-------------------------------------------

I think the remedy of longer lists is that you use POST. I think the concern is fine, but
its not like we don't have the same concern for anything else that's user specifiable and
appears in the URL. For instance, there's no length limit on document id's or attachment names
which can hit the same URL length issue. 

Also, the method allows for cacheing when the POST method doesn't.





> Allow ?keys=["a","b"] for GET to _view and _list
> ------------------------------------------------
>
>                 Key: COUCHDB-891
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-891
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: HTTP Interface
>    Affects Versions: 1.0.1
>         Environment: -
>            Reporter: Michael Fellinger
>            Priority: Minor
>             Fix For: 1.0.2
>
>         Attachments: 0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch
>
>
> The idea was already described back in 2008 when the POST {"keys":["key1","key2"]} API
was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3C4910D88A.8000809@kore-nordmann.de%3E
> I'm looking at the source right now, but can't figure out how to implement this at the
moment, and I'd love this to be part of CouchDB proper.

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