diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-30 08:32:22 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-04 16:21:17 -0800 |
commit | a471d10cd793c4dc7182b4e588a21d6ac7c41de7 (patch) | |
tree | 2edaafc3f753f22fe08e995d3fa54398c5e129a5 /t | |
parent | dc77752eb7bfe528c60dc0ac028717877342e22a (diff) | |
download | rainbows-a471d10cd793c4dc7182b4e588a21d6ac7c41de7.tar.gz |
Although curl did not complain, 206 is the correct error code for partial HTTP responses.
Diffstat (limited to 't')
-rw-r--r-- | t/byte-range-common.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/byte-range-common.sh b/t/byte-range-common.sh index 120aad6..514a024 100644 --- a/t/byte-range-common.sh +++ b/t/byte-range-common.sh @@ -14,6 +14,7 @@ t_begin "byte-range setup vars" && { } check_content_range () { + grep '^< HTTP/1\.1 206 Partial Content' $err grep 'Range:' $err # Content-Range: bytes #{offset}-#{offset+count-1}/#{clen} d='\([0-9]\+\)' |