quickjs-tart

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

test1480 (594B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 <data>
     12 HTTP/1.1 100 Continue
     13 Foo: Bar
     14 
     15 Data
     16 Data
     17 Data
     18 </data>
     19 <datacheck>
     20 </datacheck>
     21 </reply>
     22 
     23 #
     24 # Client-side
     25 <client>
     26 <server>
     27 http
     28 </server>
     29 <name>
     30 HTTP Continue response without final response
     31 </name>
     32 <command>
     33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER
     34 </command>
     35 </client>
     36 
     37 #
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <protocol>
     41 GET /%TESTNUMBER HTTP/1.1
     42 Host: %HOSTIP:%HTTPPORT
     43 User-Agent: curl/%VERSION
     44 Accept: */*
     45 
     46 </protocol>
     47 
     48 # weird_server_reply
     49 <errorcode>
     50 8
     51 </errorcode>
     52 </verify>
     53 </testcase>