Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test1115
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP 1xx response code
6 </keywords>
7 </info>
8
9 # Server-side
10 <reply>
11 <data>
12 HTTP/1.1 104 Experiment\r
13 Server: Microsoft-IIS/5.0\r
14 Date: Sun, 03 Apr 2005 14:57:45 GMT\r
15 X-Powered-By: ASP.NET\r
16 \r
17 HTTP/1.1 200 OK swsbounce\r
18 Server: Microsoft-IIS/6.0\r
19 Content-Type: text/html; charset=iso-8859-1\r
20 Content-Length: 0\r
21 \r
22 </data>
23
24 </reply>
25
26 # Client-side
27 <client>
28
29 <server>
30 http
31 </server>
32  <name>
33 HTTP GET with unexpected 1xx response
34  </name>
35  <command>
36 http://%HOSTIP:%HTTPPORT/1115
37 </command>
38 </client>
39
40 # Verify data after the test has been "shot"
41 <verify>
42 <strip>
43 ^User-Agent:.*
44 </strip>
45 <protocol>
46 GET /1115 HTTP/1.1\r
47 Host: %HOSTIP:%HTTPPORT\r
48 Accept: */*\r
49 \r
50 </protocol>
51 </verify>
52 </testcase>