aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test2008
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-04-17 00:00:45 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-04-18 22:45:40 +0200
commit5e2f4a33fe663c2ae8cc92c02193a7261c524867 (patch)
tree287dafef2baf8a47746b199a6213a89c7e555aec /tests/data/test2008
parent80d651541537433e1363f7b4ba7497b08d0fb53f (diff)
tests: make 2006-2010 handle different port number lengths
Diffstat (limited to 'tests/data/test2008')
-rw-r--r--tests/data/test20085
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/data/test2008 b/tests/data/test2008
index 570cdba7d..b29ba911b 100644
--- a/tests/data/test2008
+++ b/tests/data/test2008
@@ -78,11 +78,14 @@ Accept: */*
<file1 name="log/download2008">
Some stuff delivered from an HTTP resource
</file1>
+# The Content-Length replace here is to handle with 4/5 digit port number in
+# the content
<stripfile2>
s/Last-Modified:.*//
+s/Content-Length: 49[67]/Content-Length: yeps/
</stripfile2>
<file2 name="log/heads2008">
-Content-Length: 496
+Content-Length: yeps
Accept-ranges: bytes