quickjs-tart

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

test1267 (538B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP/0.9
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 <data>
     12 HTTPr
     13 </data>
     14 <servercmd>
     15 swsclose
     16 </servercmd>
     17 </reply>
     18 
     19 #
     20 # Client-side
     21 <client>
     22 <server>
     23 http
     24 </server>
     25 <name>
     26 HTTP GET with an invalid HTTP/1 response line start
     27 </name>
     28 <command>
     29 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
     30 </command>
     31 </client>
     32 
     33 #
     34 # Verify data after the test has been "shot"
     35 <verify>
     36 <protocol>
     37 GET /%TESTNUMBER HTTP/1.1
     38 Host: %HOSTIP:%HTTPPORT
     39 User-Agent: curl/%VERSION
     40 Accept: */*
     41 
     42 </protocol>
     43 </verify>
     44 </testcase>