[jira] Updated: (COUCHDB-289) _all_docs should support both GET and POST

2010-11-10 Thread Sebastian Cohnen (JIRA)

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

Sebastian Cohnen updated COUCHDB-289:
-

Attachment: multiple_key_support_for_all_docs_via_get.patch

I implemented the proposed change. Need to add tests though.

PS: These are my first steps with Erlang, so bare with me :)

> _all_docs should support both GET and POST
> --
>
> Key: COUCHDB-289
> URL: https://issues.apache.org/jira/browse/COUCHDB-289
> Project: CouchDB
>  Issue Type: Improvement
>  Components: HTTP Interface
>Affects Versions: 0.10
>Reporter: Matt Aimonetti
> Attachments: multiple_key_support_for_all_docs_via_get.patch
>
>
> As of 0.9, if you want to query multiple documents at once and load them, you 
> have to do: 
> 'POST' /my_db/_all_docs?include_docs=true and pass the document ids.
> The problem with that approach is that the requests can't be cached. Being to 
> make a GET request (with the obvious limitations) would make a lot of sense.

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



[jira] Updated: (COUCHDB-289) _all_docs should support both GET and POST

2010-10-08 Thread Paul Joseph Davis (JIRA)

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

Paul Joseph Davis updated COUCHDB-289:
--

Skill Level: New Contributors Level (Easy)

> _all_docs should support both GET and POST
> --
>
> Key: COUCHDB-289
> URL: https://issues.apache.org/jira/browse/COUCHDB-289
> Project: CouchDB
>  Issue Type: Improvement
>  Components: HTTP Interface
>Affects Versions: 0.10
>Reporter: Matt Aimonetti
>
> As of 0.9, if you want to query multiple documents at once and load them, you 
> have to do: 
> 'POST' /my_db/_all_docs?include_docs=true and pass the document ids.
> The problem with that approach is that the requests can't be cached. Being to 
> make a GET request (with the obvious limitations) would make a lot of sense.

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



[jira] Updated: (COUCHDB-289) _all_docs should support both GET and POST

2009-11-02 Thread Adam Kocoloski (JIRA)

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

Adam Kocoloski updated COUCHDB-289:
---

Component/s: HTTP Interface

I'm +1 on this.  Also if the keys are passed in the query-string it gives us a 
chance to throw '414 Request-URI Too Long".  We should never pass up the 
opportunity to correctly use an obscure HTTP status code :-)

> _all_docs should support both GET and POST
> --
>
> Key: COUCHDB-289
> URL: https://issues.apache.org/jira/browse/COUCHDB-289
> Project: CouchDB
>  Issue Type: Improvement
>  Components: HTTP Interface
>Affects Versions: 0.10
>Reporter: Matt Aimonetti
>
> As of 0.9, if you want to query multiple documents at once and load them, you 
> have to do: 
> 'POST' /my_db/_all_docs?include_docs=true and pass the document ids.
> The problem with that approach is that the requests can't be cached. Being to 
> make a GET request (with the obvious limitations) would make a lot of sense.

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