Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test1432
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 </keywords>
7 </info>
8
9 <reply>
10 <data nocheck="yes">
11 HTTP/1.1 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 OK
12 Date: Thu, 09 Nov 2010 14:49:00 GMT
13 Server: test-server/fake
14 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
15 ETag: "21025-dc7-39462498"
16 Accept-Ranges: bytes
17 Content-Length: 6
18 Connection: close
19 Content-Type: text/html
20 Funny-head: yesyes
21
22 -foo-
23 </data>
24 </reply>
25
26 #
27 # Client-side
28 <client>
29 <server>
30 http
31 </server>
32
33 <name>
34 HTTP GET with 100-digit reponse code and survive
35  </name>
36  <command>
37 http://%HOSTIP:%HTTPPORT/1432
38 </command>
39 </client>
40
41 #
42 # Verify data after the test has been "shot"
43 <verify>
44 <strip>
45 ^User-Agent:.*
46 </strip>
47 <protocol>
48 GET /1432 HTTP/1.1\r
49 Host: %HOSTIP:%HTTPPORT\r
50 Accept: */*\r
51 \r
52 </protocol>
53 </verify>
54 </testcase>