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

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

Commit 752ec274aab3d4e2ddc933a60cbeb11dc73105ce in branch refs/heads/master 
from [~janl]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=752ec27 ]

update CHANGES with COUCHDB-1689 note

                
> CORS requests on attachments sometimes fail
> -------------------------------------------
>
>                 Key: COUCHDB-1689
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1689
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Volker Mische
>
> In some cases CORS requests fail. I've identified two cases:
>  1. when using CORS and requesting attachments with doc?attachments=true the 
> request failes
>  2. When an uncompressed attachments is requested directly with a range 
> request
> The reason is that in those cases headers are encoded as binaries instead of 
> lists. CORS is doing some string manipulations (string:to_lower/1) which 
> fails when it gets binaries.
> Pull request with tests and fix is forthcoming.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to