[ 
https://issues.apache.org/jira/browse/COUCHDB-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15140032#comment-15140032
 ] 

ILYA commented on COUCHDB-2945:
-------------------------------

https://github.com/apache/couchdb-chttpd/pull/101
https://github.com/apache/couchdb-couch/pull/138

> CORS headers are missing for requests to _session endpoint
> ----------------------------------------------------------
>
>                 Key: COUCHDB-2945
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2945
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: ILYA
>            Assignee: ILYA
>
> CORS headers are send in 
> [chttpd:send_json|https://github.com/apache/couchdb-chttpd/blob/master/src/chttpd.erl#L709:L712].
> However *_session* endpoint uses *couch_http:send_json* which doesn't include 
> CORS specific headers (see 
> [here|https://github.com/apache/couchdb-couch/blob/master/src/couch_httpd.erl#L748:L752)]).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to