summaryrefslogtreecommitdiff
path: root/share/www/script/couch.js
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-05-26 11:51:44 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-05-26 11:51:44 +0000
commit7409e56fc2cc3c8927153c63959a23d867466967 (patch)
tree081e160635352662a90afd6e757f5ccd2e5c3815 /share/www/script/couch.js
parent09cb3bb65f013e0f51fd824b11ff2df99e83b542 (diff)
Fixes to the XHR/Javascript code to be compatible with HTTP/1.0 proxies. Closes COUCHDB-40.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660170 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch.js')
-rw-r--r--share/www/script/couch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index d1cff6c1..847467d4 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -218,6 +218,6 @@ CouchDB.request = function(method, uri, options) {
req.setRequestHeader(headerName, headers[headerName]);
}
}
- req.send(options.body || null);
+ req.send(options.body || "");
return req;
}