summaryrefslogtreecommitdiff
path: root/share/www/script/test
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-11-07 21:08:08 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-11-07 21:08:08 +0000
commite9bf7b33c7a95cc7f749f21a54ef92714e1e4565 (patch)
tree489367e127d16981ddf9023e9f94f675e9d696d2 /share/www/script/test
parentbd126404ee12f7e17c2d8b88cb3bb248bcea7aaa (diff)
Bug fix: the separator for media types in the 'Accept' header is a comma. The semicolon separates a media type from its parameters.
A more complete solution, which takes into account Q values, was submitted upstream: https://github.com/mochi/mochiweb/issues/issue/21. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1032391 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test')
-rw-r--r--share/www/script/test/attachments_multipart.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/attachments_multipart.js b/share/www/script/test/attachments_multipart.js
index ce35e653..96fe344f 100644
--- a/share/www/script/test/attachments_multipart.js
+++ b/share/www/script/test/attachments_multipart.js
@@ -200,7 +200,7 @@ couchTests.attachments_multipart= function(debug) {
// a certain rev).
xhr = CouchDB.request("GET", "/test_suite_db/multipart?atts_since=[\"" + firstrev + "\"]",
- {headers:{"accept": "multipart/related,*/*;"}});
+ {headers:{"accept": "multipart/related, */*"}});
T(xhr.status == 200);