quickjs-tart

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

test1035 (623B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 HTTP proxy
      7 IDN
      8 FAILURE
      9 </keywords>
     10 </info>
     11 
     12 #
     13 # Server-side
     14 <reply>
     15 </reply>
     16 
     17 #
     18 # Client-side
     19 <client>
     20 <server>
     21 none
     22 </server>
     23 <features>
     24 IDN
     25 http
     26 proxy
     27 codeset-utf8
     28 </features>
     29 <setenv>
     30 LC_ALL=
     31 LC_CTYPE=en_US.UTF-8
     32 </setenv>
     33 <name>
     34 HTTP over proxy with too long IDN host name
     35 </name>
     36 <command>
     37 http://too-long-IDN-name-c%hex[%c3%bc]hex%rl-r%hex[%c3%bc]hex%le%hex[%c3%9f]hex%-la-la-la-dee-da-flooby-nooby.local/page/%TESTNUMBER -x %HOSTIP:%NOLISTENPORT
     38 </command>
     39 </client>
     40 
     41 #
     42 # Verify data after the test has been "shot"
     43 <verify>
     44 <errorcode>
     45 3
     46 </errorcode>
     47 </verify>
     48 </testcase>