Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1202
1 <testcase>
2 <info>
3 <keywords>
4 GOPHER
5 QUERY
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <data>
13 iSearch results         error.host      1
14 0Query query succeeded  /foo    foo.bar.invalid 70
15 0Selector /the/search/engine    /bar    bar.foo.invalid 70
16 .
17 </data>
18 </reply>
19
20 # Client-side
21 <client>
22 <server>
23 gopher
24 </server>
25  <name>
26 Gopher query
27  </name>
28  <command>
29 "gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded/1202"
30 </command>
31 </client>
32
33 #
34 # Verify data after the test has been "shot"
35 <verify>
36 <protocol>
37 /the/search/engine      query succeeded/1202
38 </protocol>
39 </verify>
40 </testcase>