You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2015/12/12 17:01:36 UTC
[15/35] couchdb commit: updated refs/heads/2876-js-tests-merged to
6d9b2eb
HTTP test
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0431c5c1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0431c5c1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0431c5c1
Branch: refs/heads/2876-js-tests-merged
Commit: 0431c5c1bd9d21ac3cd92bd9a8e681c86e91bcd3
Parents: 4012690
Author: sebastianro <se...@apache.org>
Authored: Sat Oct 17 17:44:28 2015 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Sat Dec 12 15:25:09 2015 +0100
----------------------------------------------------------------------
test/javascript/tests/http.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/0431c5c1/test/javascript/tests/http.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/http.js b/test/javascript/tests/http.js
index 4b609d7..850d5f2 100644
--- a/test/javascript/tests/http.js
+++ b/test/javascript/tests/http.js
@@ -11,12 +11,10 @@
// the License.
couchTests.http = function(debug) {
- return console.log('TODO');
var db_name = get_random_db_name();
var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
// bug COUCHDB-100: DELETE on non-existent DB returns 500 instead of 404
- // TODO: db.deleteDb();
db.createDb();
@@ -39,6 +37,8 @@ couchTests.http = function(debug) {
xhr.getResponseHeader("Location"),
"should include X-Forwarded-Host");
+// TODO: allow modifications or leave out
+/*
run_on_modified_server([{
section:"httpd",
key:"x_forwarded_host",
@@ -52,6 +52,7 @@ couchTests.http = function(debug) {
xhr.getResponseHeader("Location"),
"should include X-Host");
});
+*/
// COUCHDB-708: newlines document names
xhr = CouchDB.request("PUT", "/" + db_name + "/docid%0A/attachment.txt", {