1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 CURLOPT_CURLU 7 </keywords> 8 </info> 9 <reply> 10 <data nocheck="yes"> 11 HTTP/1.1 200 OK 12 Date: Thu, 09 Nov 2010 14:49:00 GMT 13 Server: test-server/fake 14 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 15 ETag: "21025-dc7-39462498" 16 Accept-Ranges: bytes 17 Content-Length: 6 18 Connection: close 19 Content-Type: text/html 20 Funny-head: yesyes 21 22 -foo- 23 </data> 24 </reply> 25 <client> 26 <server> 27 http 28 </server> 29 <tool> 30 lib658 31 </tool> 32 <name> 33 Pass URL to libcurl with CURLOPT_CURLU 34 </name> 35 <command> 36 http://%HOSTIP:%HTTPPORT/658 37 </command> 38 </client> 39 40 <verify> 41 <strip> 42 ^User-Agent:.* 43 </strip> 44 <protocol> 45 GET /658 HTTP/1.1 46 Host: %HOSTIP:%HTTPPORT 47 Accept: */* 48 49 </protocol> 50 </verify> 51 52 </testcase> 53