You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ILYA (JIRA)" <ji...@apache.org> on 2016/02/05 18:15:39 UTC

[jira] [Created] (COUCHDB-2945) CORS headers are missing for requests to _session endpoint

ILYA created COUCHDB-2945:
-----------------------------

             Summary: 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


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)