couch-client icon indicating copy to clipboard operation
couch-client copied to clipboard

realGet actually Posts?

Open brian-lc opened this issue 14 years ago • 1 comments

I don't understand why you guys chose to use POST in your get() method to pull documents. Could someone explain this? It doesn't make sense to me.

Thanks.

brian-lc avatar Mar 22 '11 15:03 brian-lc

The CouchDB HTTP API specifies that the keys query parameter goes over POST. This is probably to keep the url short when you are requesting massive numbers of documents in a single bulk request, which is exactly what happens here as your gets are queued and sent over the connection together.

hdachev avatar Jun 29 '11 16:06 hdachev