blob: c43b0a9be4fcdfdc0b7a7690abc77ad76554c191 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4CURLOPT_CURLU
5CURLOPT_PORT
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data nocheck="yes">
12HTTP/1.1 200 OK
13Date: Tue, 09 Nov 2010 14:49:00 GMT
14Server: test-server/fake
15Content-Type: text/html
16Funny-head: yesyes swsclose
17
18</data>
19</reply>
20
21# Client-side
22<client>
23<server>
24http
25</server>
26 <name>
27CURLOPT_CURLU and CURLOPT_PORT
28 </name>
29<tool>
30lib%TESTNUMBER
31</tool>
32
33# The tool does two requesets, the first sets CURLOPT_PORT to 1
34# the second resets the port again and expects that request to work.
35<command>
36http://%HOSTIP:%HTTPPORT/%TESTNUMBER
37</command>
38</client>
39
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43GET /%TESTNUMBER HTTP/1.1
44Host: %HOSTIP:%HTTPPORT
45Accept: */*
46
47</protocol>
48</verify>
49</testcase>