Imported Upstream version 7.59.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
13 Server: Microsoft-IIS/5.0
14 Date: Sun, 03 Apr 2005 14:57:45 GMT
15 X-Powered-By: ASP.NET
16
17 HTTP/1.1 200 OK swsbounce
18 Server: Microsoft-IIS/6.0
19 Content-Type: text/html; charset=iso-8859-1
20 Content-Length: 0
21
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
47 Host: %HOSTIP:%HTTPPORT
48 Accept: */*
49
50 </protocol>
51 </verify>
52 </testcase>