Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.0
-
None
-
None
-
Regular Contributors Level (Easy to Medium)
Description
Method OPTIONS is not allowed, which disables ability for cross-site XMLHttpRequest (other than GET) within the browser (see: http://www.w3.org/TR/cors)
Current headers:
curl -X OPTIONS http://localhost:5984 -v
...
< HTTP/1.1 405 Method Not Allowed
< Server: CouchDB/1.0.0 (Erlang OTP/R13B)
< Date: Thu, 22 Jul 2010 17:56:59 GMT
< Content-Type: text/plain;charset=utf-8
< Content-Length: 64
< Cache-Control: must-revalidate
< Allow: GET,HEAD
Expected headers:
HTTP/1.1 200 OK
Access-Control-Allow-Methods: POST, GET, OPTIONS
Access-Control-Allow-Headers: X-PINGOTHER
Stan.
Attachments
Issue Links
- is duplicated by
-
COUCHDB-431 cors - aka Cross-Origin Resource Sharing support
- Closed