quickjs-tart

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

test373 (1083B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 chunked Transfer-Encoding
      7 </keywords>
      8 </info>
      9 
     10 <reply>
     11 <data>
     12 HTTP/1.1 200 OK
     13 Date: Thu, 22 Jul 2010 11:22:33 GMT
     14 Connection: close
     15 Content-Type: text/html
     16 Transfer-Encoding: chunked
     17 X-Control: swsclose
     18 
     19 100
     20 %repeat[255 x %00]%
     21 
     22 100
     23 %repeat[255 x %00]%
     24 
     25 100
     26 %repeat[255 x %00]%
     27 
     28 100
     29 %repeat[255 x %00]%
     30 
     31 0
     32 
     33 </data>
     34 
     35 <datacheck>
     36 HTTP/1.1 200 OK
     37 Date: Thu, 22 Jul 2010 11:22:33 GMT
     38 Connection: close
     39 Content-Type: text/html
     40 Transfer-Encoding: chunked
     41 X-Control: swsclose
     42 
     43 %repeat[255 x %00]%
     44 %repeat[255 x %00]%
     45 %repeat[255 x %00]%
     46 %repeat[255 x %00]%
     47 </datacheck>
     48 
     49 </reply>
     50 
     51 <client>
     52 <server>
     53 http
     54 </server>
     55 <name>
     56 Chunked transfer encoding - Multiple valid chunks with binary zeros.
     57 </name>
     58 <features>
     59 proxy
     60 </features>
     61 <command>
     62 http://%HOSTIP:%HTTPPORT/chunked-transfer-encoding/%TESTNUMBER
     63 </command>
     64 </client>
     65 
     66 <verify>
     67 <protocol>
     68 GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1
     69 Host: %HOSTIP:%HTTPPORT
     70 User-Agent: curl/%VERSION
     71 Accept: */*
     72 
     73 </protocol>
     74 <errorcode>
     75 0
     76 </errorcode>
     77 </verify>
     78 </testcase>