quickjs-tart

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

test1539 (588B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP POST
      6 Content-Length
      7 chunked Transfer-Encoding
      8 </keywords>
      9 </info>
     10 
     11 # Server-side
     12 <reply>
     13 <data nocheck="yes">
     14 HTTP/1.1 200 OK
     15 Date: Sun, 19 Jan 2014 18:50:58 GMT
     16 Server: test-server/fake swsclose
     17 Connection: close
     18 </data>
     19 </reply>
     20 
     21 # Client-side
     22 <client>
     23 <server>
     24 http
     25 </server>
     26 <tool>
     27 lib1514
     28 </tool>
     29 <name>
     30 HTTP 1.0 POST with read callback and unknown data size
     31 </name>
     32 <command>
     33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER
     34 </command>
     35 </client>
     36 
     37 # Verify data after the test has been "shot"
     38 <verify>
     39 <errorcode>
     40 25
     41 </errorcode>
     42 </verify>
     43 </testcase>