incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rao, Zhiqing" <z...@qti.qualcomm.com>
Subject HTTP access control (CORS, Cross Origin Resource Sharing ) problem with couchdb server
Date Fri, 23 Aug 2013 02:16:19 GMT
Hi guys,

When I use ajax to query couchdb view from http://a.com to http://b.com:5984/db/_design/viewxx,
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message