1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-25 09:38:54 -05:00
curl/tests/data/test1201
Leonardo Taccari 3997510eed
test1201: Add a trailing `?' to the selector
This verify that the `?' in the selector is kept as is.

Verifies the fix in #3370
2018-12-13 10:24:01 +01:00

40 lines
498 B
Plaintext

<testcase>
<info>
<keywords>
GOPHER
SELECTOR
</keywords>
</info>
#
# Server-side
<reply>
<data>
iMenu results error.host 1
0Selector /selector/SELECTOR /bar bar.foo.invalid 70
.
</data>
</reply>
# Client-side
<client>
<server>
gopher
</server>
<name>
Gopher selector
</name>
<command>
gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR/1201?
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
/selector/SELECTOR/1201?
</protocol>
</verify>
</testcase>