Debian Codegraph @

deps/curl/tests/data/test262

raw
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 </keywords>
7 </info>
8 #
9 # Server-side
10 <reply>
11 <data base64="yes">
12 SFRUUC8xLjEgMjAwIE9LAApEYXRlOiBUaHUsIDA5IE5vdiAyMDEwIDE0OjQ5OjAwIEdNVAAKU2Vy
13 dmVyOiB0ZXN0LXNlcnZlci9mYWtlAApMYXN0LU1vZGlmaWVkOiBUdWUsIDEzIEp1biAyMDAwIDEy
14 OjEwOjAwIEdNVAAKRVRhZzogIjIxMDI1LWRjNy0zOTQ2MjQ5OCIACkFjY2VwdC1SYW5nZXM6IGJ5
15 dGVzAApDb250ZW50LUxlbmd0aDogNgAKQ29ubmVjdGlvbjogY2xvc2UACkNvbnRlbnQtVHlwZTog
16 dGV4dC9odG1sAApGdW5ueS1oZWFkOiB5ZXN5ZXMACgpoZWxsbwo=
17 </data>
18
19 <datacheck>
20 HTTP/1.1 200 OK
21 Date: Thu, 09 Nov 2010 14:49:00 GMT
22 Server: test-server/fake
23 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
24 ETag: "21025-dc7-39462498"
25 Accept-Ranges: bytes
26 Content-Length: 6
27 Connection: close
28 Content-Type: text/html
29 Funny-head: yesyes
30
31 hello
32 </datacheck>
33
34 </reply>
35
36 #
37 # Client-side
38 <client>
39 <server>
40 http
41 </server>
42 <name>
43 HTTP GET with binary zeroes in header
44 </name>
45 <command>
46 http://%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>
57 GET /262 HTTP/1.1
58 Host: %HOSTIP:%HTTPPORT
59 Accept: */*
60
61 </protocol>
62 </verify>
63 </testcase>