summaryrefslogtreecommitdiff
path: root/tests/data/test1702
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test1702')
-rw-r--r--tests/data/test170211
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/data/test1702 b/tests/data/test1702
index 15757674d..b679c7bca 100644
--- a/tests/data/test1702
+++ b/tests/data/test1702
@@ -12,7 +12,7 @@ HTTP/2
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
+Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
ETag: "21025-dc7-39462498"
@@ -36,7 +36,7 @@ http/2
HTTP/2 HEAD with Upgrade:
</name>
<command>
-http://%HOSTIP:%HTTP2PORT/1702 --http2 --head
+http://%HOSTIP:%HTTP2PORT/%TESTNUMBER --http2 --head
</command>
</client>
@@ -48,7 +48,7 @@ http://%HOSTIP:%HTTP2PORT/1702 --http2 --head
^Via:.*
</strip>
<protocol>
-HEAD /1702 HTTP/1.1
+HEAD /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTP2PORT
User-Agent: curl/%VERSION
Accept: */*
@@ -60,19 +60,18 @@ Connection: Upgrade
Upgrade: h2c
HTTP/2 200
-date: Thu, 09 Nov 2010 14:49:00 GMT
+date: Tue, 09 Nov 2010 14:49:00 GMT
last-modified: Tue, 13 Jun 2000 12:10:00 GMT
etag: "21025-dc7-39462498"
accept-ranges: bytes
content-length: 6
content-type: text/html
funny-head: yesyes
-server: cut-out
via: 1.1 nghttpx
</stdout>
<stripfile>
-s/^server:.*/server: cut-out /
+s/^server: nghttpx.*\r?\n//
</stripfile>
</verify>
</testcase>