GitHub user vmx opened a pull request:
https://github.com/apache/couchdb/pull/47
Fix CORS error with attachments
When attachments were returned (?attachments=true) while CORS was
enabled and used, an error occured. The reason for this error
were headers that were encoded as binaries instead of lists. String
operations on binaries throw errors.
This commit fixes COUCHDB-1689.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vmx/couchdb 1689-fix-cors-attachments
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/47.patch
----
commit b0420f9006915149e81607615720f32f21c76725
Author: Volker Mische <[email protected]>
Date: 2013-03-10T17:34:59Z
Fix CORS error with attachments
When attachments were returned (?attachments=true) while CORS was
enabled and used, an error occured. The reason for this error
were headers that were encoded as binaries instead of lists. String
operations on binaries throw errors.
This commit fixes COUCHDB-1689.
----