couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Yasin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1097) Unable to do an OPTIONS request to shows or lists
Date Sun, 17 Apr 2011 17:27:05 GMT

     [ 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

Mime
View raw message