summaryrefslogtreecommitdiff
path: root/tests/data/test372
blob: e1cf356ddd7a89d6ad05c812e237a8e855942fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<testcase>
<info>
<keywords>
HTTP
HTTP GET
</keywords>
</info>

<reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 22 Jul 2010 11:22:33 GMT
Connection: close
Content-Type: text/html
X-Control: swsclose
Content-Length: 2

%hex[%00]hex%
</data>
</reply>

<client>
<server>
http
</server>
<name>
Binary zero in data element.
</name>
<features>
proxy
</features>
<command>
--raw http://%HOSTIP:%HTTPPORT/binary-zero-in-data-section/%TESTNUMBER
</command>
</client>

<verify>
<protocol>
GET /binary-zero-in-data-section/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*

</protocol>
<errorcode>
0
</errorcode>
</verify>
</testcase>