GitHub user arturmazurek opened a pull request:
https://github.com/apache/couchdb-couch/pull/53
Fix duplicated Content-Type for show/update functions
When a show/update function returned data it added a
"Content-Type: application/json" header by itself. Then
couch_httpd added some default headers (including a yet
another "application/json" one).
This diff deduplicates those headers using a set.
COUCHDB-1876
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arturmazurek/couchdb-couch
1876-fix-duplicate-content-type
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/53.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #53
----
commit 7a75cce61f3616333883703b6e098961079d5295
Author: Artur Mazurek <[email protected]>
Date: 2015-05-25T14:19:53Z
Fix duplicated Content-Type for show/update functions
When a show/update function returned data it added a
"Content-Type: application/json" header by itself. Then
couch_httpd added some default headers (including a yet
another "application/json" one).
This diff deduplicates those headers using a set.
COUCHDB-1876
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---