Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Handle empty "Access-Control-Request-Headers" header #135

Conversation

willholley
Copy link
Member

When "Access-Control-Request-Headers" is empty, return an empty
"Access-Control-Allow-Headers" in the response. This is the same
behaviour as when the "Access-Control-Request-Headers" header is
omitted from the request entirely.

Fixes COUCHDB-3090

@kxepal
Copy link
Member

kxepal commented Aug 1, 2016

+1

When "Access-Control-Request-Headers" is empty, return an empty
"Access-Control-Allow-Headers" in the response. This is the same
behaviour as when the "Access-Control-Request-Headers" header is
omitted from the request entirely.

Fixes COUCHDB-3090
@willholley willholley force-pushed the 3090-handle-empty-access-control-request-headers branch from 232bfe6 to 086567c Compare August 2, 2016 11:11
@willholley
Copy link
Member Author

I've seen a few users run into this problem. Any chance of getting it merged now we past 2.0?

@kxepal
Copy link
Member

kxepal commented Sep 22, 2016

cc @rnewson @davisp @iilyak

@rnewson
Copy link
Member

rnewson commented Sep 23, 2016

+1

@asfgit asfgit merged commit 086567c into apache:master Sep 23, 2016
@barbalex
Copy link

Thanks a lot. Will wee find this in CouchDB v1.7?

@kxepal
Copy link
Member

kxepal commented Sep 23, 2016

@barbalex Yes.

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants