[
https://issues.apache.org/jira/browse/COUCHDB-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131944#comment-14131944
]
ASF GitHub Bot commented on COUCHDB-2328:
-----------------------------------------
GitHub user chewbranca opened a pull request:
https://github.com/apache/couchdb-chttpd/pull/4
2328 bug cors show update
This fixes COUCHDB-2328.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb-chttpd
2328-bug-cors-show-update
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-chttpd/pull/4.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 #4
----
commit 359503dc1c0caf4e36b4e9130d58d0c450d813c9
Author: Russell Branca <[email protected]>
Date: 2014-09-10T22:18:57Z
Make parse_external_response work with binaries and lists
COUCHDB-2328
commit 0e1af4dde8c1432614517fc2d98517bc84f45ec1
Author: Russell Branca <[email protected]>
Date: 2014-09-10T22:20:40Z
Add CORS headers to chttpd_external:send_external_response
COUCHDB-2328
----
> Chttpd _show/_update functions not working
> ------------------------------------------
>
> Key: COUCHDB-2328
> URL: https://issues.apache.org/jira/browse/COUCHDB-2328
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: HTTP Interface
> Reporter: Russell Branca
>
> The _show and _update endpoints use `chttpd_external:send_external_response`
> which does not add CORS headers. As a result OPTIONS requests to these
> endpoints work, but the actual requests do not.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)