1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6</keywords> 7</info> 8# 9# Server-side 10<reply> 11<data base64="yes" nocheck="yes"> 12SFRUUC8xLjEgMjAwIE9LAApEYXRlOiBUdWUsIDA5IE5vdiAyMDEwIDE0OjQ5OjAwIEdNVAAKU2Vy 13dmVyOiB0ZXN0LXNlcnZlci9mYWtlAApMYXN0LU1vZGlmaWVkOiBUdWUsIDEzIEp1biAyMDAwIDEy 14OjEwOjAwIEdNVAAKRVRhZzogIjIxMDI1LWRjNy0zOTQ2MjQ5OCIACkFjY2VwdC1SYW5nZXM6IGJ5 15dGVzAApDb250ZW50LUxlbmd0aDogNgAKQ29ubmVjdGlvbjogY2xvc2UACkNvbnRlbnQtVHlwZTog 16dGV4dC9odG1sAApGdW5ueS1oZWFkOiB5ZXN5ZXMACgpoZWxsbwo= 17</data> 18 19<actual-data> 20HTTP/1.1 200 OK 21Date: Tue, 09 Nov 2010 14:49:00 GMT 22Server: test-server/fake 23Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 24ETag: "21025-dc7-39462498" 25Accept-Ranges: bytes 26Content-Length: 6 27Connection: close 28Content-Type: text/html 29Funny-head: yesyes 30 31hello 32</actual-data> 33 34</reply> 35 36# 37# Client-side 38<client> 39<server> 40http 41</server> 42<name> 43Reject HTTP response with binary zero in header 44</name> 45<command> 46http://%HOSTIP:%HTTPPORT/%TESTNUMBER 47</command> 48</client> 49 50# 51# Verify data after the test has been "shot" 52<verify> 53<protocol> 54GET /%TESTNUMBER HTTP/1.1 55Host: %HOSTIP:%HTTPPORT 56User-Agent: curl/%VERSION 57Accept: */* 58 59</protocol> 60<errorcode> 61%if hyper 621 63%else 648 65%endif 66</errorcode> 67</verify> 68</testcase> 69