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