diff options
author | Robert Newson <rnewson@apache.org> | 2011-05-28 16:15:14 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2011-05-28 16:15:14 +0000 |
commit | 57bb30a736a7e0635c3cab394b946b1acbbed266 (patch) | |
tree | 8038454a8e2e307d2cb6d7c4b891198fce199a8f /share/www/script | |
parent | 3c2b710d8b50ae48b5a65abeebc7d08fab84bebd (diff) |
COUCHDB-1173 - pass md5 in stub so replication verifies the transfer.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1128698 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/test/attachments_multipart.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/www/script/test/attachments_multipart.js b/share/www/script/test/attachments_multipart.js index 13a5abf4..4f4590fc 100644 --- a/share/www/script/test/attachments_multipart.js +++ b/share/www/script/test/attachments_multipart.js @@ -90,6 +90,7 @@ couchTests.attachments_multipart= function(debug) { //lets change attachment bar delete doc._attachments["bar.txt"].stub; // remove stub member (or could set to false) + delete doc._attachments["bar.txt"].digest; // remove the digest (it's for the gzip form) doc._attachments["bar.txt"].length = 18; doc._attachments["bar.txt"].follows = true; //lets delete attachment baz: @@ -107,6 +108,7 @@ couchTests.attachments_multipart= function(debug) { "this is 18 chars l" + "\r\n--abc123--" }); + TEquals(201, xhr.status); xhr = CouchDB.request("GET", "/test_suite_db/multipart/bar.txt"); |