Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test30
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 FAILURE
7 </keywords>
8 </info>
9 # Server-side
10 <reply>
11 <data>
12 </data>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 http
19 </server>
20  <name>
21 HTTP with no data in server reply
22  </name>
23  <command>
24 http://%HOSTIP:%HTTPPORT/want/30
25 </command>
26 </client>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 <strip>
31 ^User-Agent:.*
32 </strip>
33 <protocol>
34 GET /want/30 HTTP/1.1
35 Host: %HOSTIP:%HTTPPORT
36 Accept: */*
37
38 </protocol>
39 <errorcode>
40 52
41 </errorcode>
42 </verify>
43 </testcase>