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/03/11 15:50:45 UTC

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

     [ https://issues.apache.org/jira/browse/COUCHDB-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ILYA resolved COUCHDB-2945.
---------------------------
    Resolution: Fixed

All PRs are merged into master

> 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)