GitHub user iilyak opened a pull request:

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

    2945 remove couch http cors

    Remove second implementation of CORS (couch_http_cors) in favor of 
chttpd_cors. This refactoring is done in order to make sure we always call 
chttpd_cors:headers for backdoor interface as well as chttpd interface. 
    
    This PR depends on https://github.com/apache/couchdb-chttpd/pull/101

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch 
2945-remove-couch_http_cors

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/138.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 #138
    
----
commit 221441ba1f811d2b67cea82591713dae2fa45572
Author: ILYA Khlopotov <[email protected]>
Date:   2016-02-09T21:17:26Z

    Remove couch_http_cors in favor of chttpd_cors
    
    In order to avoid code duplication in http stack we remove
    couch_http_cors. Vhosts support for CORS is moved into chttpd_cors.
    The intend of this refactoring is to make sure we always call
    couch_cors:headers for both chttpd and backdoor interface.
    
    COUCHDB-2945

commit dd5c20c839c46c19b0be5cffa43b22a71d076880
Author: ILYA Khlopotov <[email protected]>
Date:   2016-02-09T22:38:32Z

    Update test suite for CORS
    
    - Use definitions from chttpd_cors.hrl
    - Do not depend on order of methods or headers returned in response.
    - Extend list of allowed Exposed headers.
    
    COUCHDB-2945

----


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

Reply via email to