aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1116
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test1116')
-rw-r--r--tests/data/test111612
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/data/test1116 b/tests/data/test1116
index ce5305d79..7a883bfe1 100644
--- a/tests/data/test1116
+++ b/tests/data/test1116
@@ -23,8 +23,10 @@ bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
cccccccccccccccccccccccccccccccc
0
+%if !hyper
chunky-trailer: header data
another-header: yes
+%endif
</data>
<datacheck>
@@ -34,8 +36,10 @@ Transfer-Encoding: chunked
Connection: mooo
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc
+%if !hyper
chunky-trailer: header data
another-header: yes
+%endif
</datacheck>
</reply>
@@ -49,7 +53,7 @@ http
HTTP GET with chunked trailer without Trailer:
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1116 -D log/heads1116
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER
</command>
</client>
@@ -57,20 +61,22 @@ http://%HOSTIP:%HTTPPORT/1116 -D log/heads1116
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1116 HTTP/1.1
+GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
-<file name="log/heads1116">
+<file name="log/heads%TESTNUMBER">
HTTP/1.1 200 funky chunky!
Server: fakeit/0.9 fakeitbad/1.0
Transfer-Encoding: chunked
Connection: mooo
+%if !hyper
chunky-trailer: header data
another-header: yes
+%endif
</file>
</verify>