Experimental support for Cross-Origin Resource Sharing (CORS).
authorJan Lehnardt <jan@apache.org>
Wed, 5 Dec 2012 18:18:25 +0000 (19:18 +0100)
committerJan Lehnardt <jan@apache.org>
Wed, 5 Dec 2012 22:01:57 +0000 (23:01 +0100)
commitb90e40212663474e873fde6cab343c31c1e635e7
treedc008f2ff9c5048ca6ec34125cf53d53f13404c4
parent56f969b3c49375c5321eb3cceb0fe346f8535c22
Experimental support for Cross-Origin Resource Sharing (CORS).

Closes COUCHDB-431

Patch by:

 - Dale Harvey
 - Benoit Chesneau
 - Jan Lehnardt
 - Robert Newson

See `etc/couchdb/default.ini.tpl.in` for configuration examples.
CHANGES
NEWS
etc/couchdb/default.ini.tpl.in
src/couchdb/Makefile.am
src/couchdb/couch_httpd.erl
src/couchdb/couch_httpd_cors.erl [new file with mode: 0644]
src/couchdb/couch_httpd_vhost.erl
test/etap/231-cors.t [new file with mode: 0644]
test/etap/Makefile.am