xref: /curl/tests/data/test674 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6CURLOPT_CURLU
7curl_easy_duphandle
8</keywords>
9</info>
10<reply>
11<data nocheck="yes">
12HTTP/1.1 200 OK
13Date: Tue, 09 Nov 2010 14:49:00 GMT
14Server: test-server/fake
15Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
16ETag: "21025-dc7-39462498"
17Accept-Ranges: bytes
18Content-Length: 6
19Connection: close
20Content-Type: text/html
21Funny-head: yesyes
22
23-foo-
24</data>
25</reply>
26<client>
27<server>
28http
29</server>
30<tool>
31lib%TESTNUMBER
32</tool>
33<name>
34Set CURLOPT_CURLU and dupe the handle
35</name>
36<command>
37http://%HOSTIP:%HTTPPORT/%TESTNUMBER
38</command>
39</client>
40
41<verify>
42<protocol>
43GET /%TESTNUMBER HTTP/1.1
44Host: %HOSTIP:%HTTPPORT
45Accept: */*
46
47GET /%TESTNUMBER HTTP/1.1
48Host: %HOSTIP:%HTTPPORT
49Accept: */*
50
51</protocol>
52</verify>
53
54</testcase>
55