couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bin Wang <>
Subject Re: HTTP access control (CORS, Cross Origin Resource Sharing ) problem with couchdb server
Date Fri, 23 Aug 2013 02:28:44 GMT
I'm new to couchdb. But I think you can find the way in document:

11.16. cors Configuration Options

originsList of origins, separated by a comma (protocol, host, optional port)
methodsaccepted HTTP methods
credentialstrue sends additional header Access-Control-Allow-Credentials=true

Note that credentials=true and origins=* are mutually exclusive.

2013/8/23 Rao, Zhiqing <>:
> Hi guys,
> When I use ajax to query couchdb view from to,
> All the available update to date browsers would report error: "required Cross Origin
Resource Sharing (CORS)".
> I know how to fix the CORS with IIS based website, by adding "Access-Control-Allow-Origin:
*" to website response headers.
> But how can I add the response header for couchdb server?
> Thanks,
> Zhiqing

View raw message