tests: make 2006-2010 handle different port number lengths

This commit is contained in:
Daniel Stenberg 2020-04-17 00:00:45 +02:00
parent 80d6515415
commit 5e2f4a33fe
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 24 additions and 8 deletions

View file

@ -86,11 +86,14 @@ Accept: */*
<file1 name="log/download2007">
Something 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/heads2007">
Content-Length: 496
Content-Length: yeps
Accept-ranges: bytes