You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Omar Yasin (JIRA)" <ji...@apache.org> on 2011/04/17 19:27:05 UTC

[jira] [Updated] (COUCHDB-1097) Unable to do an OPTIONS request to shows or lists

     [ https://issues.apache.org/jira/browse/COUCHDB-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Omar Yasin updated COUCHDB-1097:
--------------------------------

    Attachment: list_view_options_test.patch

Just added a test to list_views.js. Is that what you were talking about? I'm not well aquatinted with the CouchDB testing suite.

Patch at
https://github.com/omarkj/couchdb/commit/1f4cbc98b4adaf586ea2dade79a9bef6a47e85ef#share/www/script/test/list_views.js

I've also attached the patch to this ticket.

> Unable to do an OPTIONS request to shows or lists
> -------------------------------------------------
>
>                 Key: COUCHDB-1097
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1097
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 1.0.2
>            Reporter: Omar Yasin
>            Priority: Minor
>              Labels: http
>         Attachments: list_view_options_test.patch
>
>
> When using XHR to access CouchDB, it is not possible to respond to OPTIONS requests for shows or lists. This means that it's impossible for to tell the requesting browsers which communication options are available causing it to throw a Access-Control-Allow error.
> I've patched this in my github fork of CouchDB at:
> https://github.com/omarkj/couchdb/commit/a11ba543581c05d61b031d044bad9f9d63c875c0

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira