diff options
author | Robert Newson <rnewson@apache.org> | 2010-08-24 18:42:15 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2010-08-24 18:42:15 +0000 |
commit | 808d2b79f3b1075f4480e2d628d737f4ac82aba2 (patch) | |
tree | 85aadff97913bdfe3baed387b71b937a777e91fa /share/www | |
parent | 08f170f241e3ee85b4d10fb0ef47ffb2f8158832 (diff) |
correct fencepost error for last bytes range request.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r-- | share/www/script/test/attachment_ranges.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/www/script/test/attachment_ranges.js b/share/www/script/test/attachment_ranges.js index aa5edd38..807a13c8 100644 --- a/share/www/script/test/attachment_ranges.js +++ b/share/www/script/test/attachment_ranges.js @@ -108,9 +108,9 @@ couchTests.attachment_ranges = function(debug) { } }); TEquals(206, xhr.status); - TEquals("text", xhr.responseText); - TEquals("4", xhr.getResponseHeader("Content-Length")); - TEquals("bytes 25-28/29", xhr.getResponseHeader("Content-Range")); + TEquals("ext", xhr.responseText); + TEquals("3", xhr.getResponseHeader("Content-Length")); + TEquals("bytes 26-28/29", xhr.getResponseHeader("Content-Range")); }; |