GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-couch-mrview/pull/17
Use chttpd provided functions
couch_mrview_show's usage of couch_chttp:send_external_response
brakes CORS support. Since couch_httpd's version of send_external_response
doesn't have support for CORS compared to chttpd's version.
Other couch_http's functions are switched to corresponding chttpd's
versions as well.
COUCHDB-2656
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iilyak/couchdb-couch-mrview
2656-use-chttpd-functions
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-mrview/pull/17.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 #17
----
commit 1dc8d5252d8fbaa9df56ee63800fa616c154602e
Author: ILYA Khlopotov <[email protected]>
Date: 2015-04-07T14:59:00Z
Use chttpd provided functions
couch_mrview_show's usage of couch_chttp:send_external_response
brakes CORS support. Since couch_httpd's version of send_external_response
doesn't have support for CORS compared to chttpd's version.
Other couch_http's functions are switched to corresponding chttpd's
versions as well.
COUCHDB-2656
----
---
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.
---