quickjs-tart

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

test1260 (540B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 
      9 # Server-side
     10 <reply>
     11 </reply>
     12 
     13 # Client-side
     14 <client>
     15 <server>
     16 none
     17 </server>
     18 <features>
     19 http
     20 </features>
     21 <name>
     22 HTTP URL with rubbish after port number
     23 </name>
     24 <command>
     25 -g "http://[%HOSTIP]:%NOLISTENPORT:80/we/want/%TESTNUMBER" "http://%HOSTIP:%NOLISTENPORT:80/we/want/%TESTNUMBER" "http://user@example.com:80@localhost"
     26 </command>
     27 </client>
     28 
     29 # Verify data after the test has been "shot"
     30 <verify>
     31 # CURLE_URL_MALFORMAT == 3
     32 <errorcode>
     33 3
     34 </errorcode>
     35 </verify>
     36 </testcase>