couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2656) Update couch_mrview to use chttpd provided functions
Date Thu, 23 Apr 2015 20:44:39 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509756#comment-14509756
] 

ASF subversion and git services commented on COUCHDB-2656:
----------------------------------------------------------

Commit 1dc8d5252d8fbaa9df56ee63800fa616c154602e in couchdb-couch-mrview's branch refs/heads/master
from [~iilyak]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch-mrview.git;h=1dc8d52 ]

Use chttpd provided functions

couch_mrview_show's usage of couch_chttp:send_external_response
brakes CORS support. Since couch_httpd's version of send_external_response
doesn't have support for CORS compared to chttpd's version.

Other couch_http's functions are switched to corresponding chttpd's
versions as well.

COUCHDB-2656


> Update couch_mrview to use chttpd provided functions
> ----------------------------------------------------
>
>                 Key: COUCHDB-2656
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2656
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>            Reporter: ILYA
>            Assignee: ILYA
>
> couch_mrview uses functions from couch_http. For example send_external_response is used
by couch_mrview_show. This brakes CORS support. Since couch_httpd's version of send_external_response
doesn't have support for CORS compared to chttpd's version https://github.com/apache/couchdb-chttpd/blob/master/src/chttpd_external.erl#L127.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message