Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Switching to POST request and encoding "keys" in POST body when "keys" p... #18

Merged
merged 2 commits into from
Nov 11, 2015

Conversation

tompro
Copy link
Contributor

@tompro tompro commented Sep 17, 2013

Switching to POST request and encoding "keys" in POST body when "keys" parameter is present.

Using a keys query array as query param in a GET request does not seem to work very well (At least for me working with a BigCouch instance the keys are ignored completely). The CouchDb documentation suggests to use a POST request with the requested keys encoded in the post body (this works in my setup).

@Magomogo
Copy link

Just hit the same problem. I'm fetching a view with about a hundred of keys, and client crashed with out of memory error. POST request works correctly.

@zebooka
Copy link

zebooka commented Dec 20, 2013

The same problem guys.
Can we get this pull request merged?

beberlei added a commit that referenced this pull request Nov 11, 2015
Switching to POST request and encoding "keys" in POST body when "keys" p...
@beberlei beberlei merged commit 3a98342 into doctrine:master Nov 11, 2015
beberlei added a commit that referenced this pull request Nov 11, 2015
beberlei added a commit that referenced this pull request Nov 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants