Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1326
1 <testcase>
2 <info>
3 <keywords>
4 TELNET
5 UPLOAD
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 swsclose
14
15 moo
16 </data>
17 </reply>
18
19 #
20 # Client-side
21 <client>
22 <server>
23 http
24 </server>
25 <features>
26 telnet
27 </features>
28  <name>
29 TELNET to HTTP server
30  </name>
31 <stdin>
32 GET /we/want/1326 HTTP/1.0
33
34 </stdin>
35  <command>
36 telnet://%HOSTIP:%HTTPPORT --upload-file -
37 </command>
38 </client>
39
40 #
41 # Verify data after the test has been "shot"
42 <verify>
43 <protocol>
44 GET /we/want/1326 HTTP/1.0
45
46 </protocol>
47 </verify>
48 </testcase>