1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8#
9# Server-side
10<reply>
11<data base64="yes">
12SFRUUC8xLjEgMjAwIE9LAApEYXRlOiBUaHUsIDA5IE5vdiAyMDEwIDE0OjQ5OjAwIEdNVAAKU2Vy
13dmVyOiB0ZXN0LXNlcnZlci9mYWtlAApMYXN0LU1vZGlmaWVkOiBUdWUsIDEzIEp1biAyMDAwIDEy
14OjEwOjAwIEdNVAAKRVRhZzogIjIxMDI1LWRjNy0zOTQ2MjQ5OCIACkFjY2VwdC1SYW5nZXM6IGJ5
15dGVzAApDb250ZW50LUxlbmd0aDogNgAKQ29ubmVjdGlvbjogY2xvc2UACkNvbnRlbnQtVHlwZTog
16dGV4dC9odG1sAApGdW5ueS1oZWFkOiB5ZXN5ZXMACgpoZWxsbwo=
17</data>
18
19<datacheck>
20HTTP/1.1 200 OK�
21Date: Thu, 09 Nov 2010 14:49:00 GMT�
22Server: test-server/fake23Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT�
24ETag: "21025-dc7-39462498"�
25Accept-Ranges: bytes�
26Content-Length: 6�
27Connection: close�
28Content-Type: text/html29Funny-head: yesyes�
30
31hello
32</datacheck>
33
34</reply>
35
36#
37# Client-side
38<client>
39<server>
40http
41</server>
42 <name>
43HTTP GET with binary zeroes in header
44 </name>
45 <command>
46http://%HOSTIP:%HTTPPORT/262
47</command>
48</client>
49
50#
51# Verify data after the test has been "shot"
52<verify>
53<strip>
54^User-Agent:.*
55</strip>
56<protocol>
57GET /262 HTTP/1.1
58Host: %HOSTIP:%HTTPPORT
59Accept: */*
60
61</protocol>
62</verify>
63</testcase>
64