quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test674 (773B)


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