xref: /curl/tests/data/test372 (revision 33d05031)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8
9<reply>
10<data>
11HTTP/1.1 200 OK
12Date: Thu, 22 Jul 2010 11:22:33 GMT
13Connection: close
14Content-Type: text/html
15X-Control: swsclose
16Content-Length: 2
17
18%hex[%00]hex%
19</data>
20</reply>
21
22<client>
23<server>
24http
25</server>
26<name>
27Binary zero in data element.
28</name>
29<features>
30proxy
31</features>
32<command>
33--raw http://%HOSTIP:%HTTPPORT/binary-zero-in-data-section/%TESTNUMBER
34</command>
35</client>
36
37<verify>
38<protocol>
39GET /binary-zero-in-data-section/%TESTNUMBER HTTP/1.1
40Host: %HOSTIP:%HTTPPORT
41User-Agent: curl/%VERSION
42Accept: */*
43
44</protocol>
45<errorcode>
460
47</errorcode>
48</verify>
49</testcase>
50