Skip to content

Conversation

samueltardieu
Copy link
Contributor

"_ensure_full_commit" and "_compact" require that the content-type be set to "application/json". However, when some content is provided (such as "{}" in order to send a valid JSON external representation
for the empty object), CouchDB needs to ensure that this content is read from the incoming HTTP request.

Fixes COUCHDB-2583

"_ensure_full_commit" and "_compact" require that the content-type
be set to "application/json". However, when some content is provided
(such as "{}" in order to send a valid JSON external representation
for the empty object), CouchDB needs to ensure that this content
is read from the incoming HTTP request.

Fixes COUCHDB-2583
@samueltardieu
Copy link
Contributor Author

(note that the Travis CI build passed, it looks like there has been a change in configuration as both builds — in progress and passed — point to the same URL)

@kxepal
Copy link
Member

kxepal commented Feb 19, 2015

@samueltardieu Could you please rebase your PR against 1.x.x branch - if there will happens 1.x release it will be 1.7, not 1.6.2.

Also to let your patch be included in 2.0 submit it to https://github.com/apache/couchdb-couch/ . Worth to check if something is needed to add for cluster httpd interface (https://github.com/apache/couchdb-chttpd/), but it seems not.

@samueltardieu
Copy link
Contributor Author

Ok, will resubmit.

janl pushed a commit that referenced this pull request Jan 5, 2020
nickva pushed a commit to nickva/couchdb that referenced this pull request Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants