quickjs-tart

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

test2406 (809B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 HTTP/2
      7 HTTPS
      8 </keywords>
      9 </info>
     10 
     11 #
     12 # Server-side
     13 <reply>
     14 <data nocheck="yes">
     15 HTTP/1.1 404 nope
     16 Date: Tue, 09 Nov 2010 14:49:00 GMT
     17 Content-Length: 6
     18 Connection: close
     19 Content-Type: text/html
     20 Funny-head: yesyes
     21 
     22 -foo-
     23 </data>
     24 </reply>
     25 
     26 #
     27 # Client-side
     28 <client>
     29 <features>
     30 Debug
     31 http/2
     32 SSL
     33 </features>
     34 <server>
     35 http/2
     36 </server>
     37 <name>
     38 HTTP/2 over HTTPS with -f
     39 </name>
     40 <setenv>
     41 </setenv>
     42 <command>
     43 --insecure --http2 -f "https://%HOSTIP:%HTTP2TLSPORT/%TESTNUMBER"
     44 </command>
     45 
     46 </client>
     47 
     48 #
     49 # Verify data after the test has been "shot"
     50 <verify>
     51 <stdout crlf="yes">
     52 HTTP/2 404 
     53 date: Tue, 09 Nov 2010 14:49:00 GMT
     54 content-length: 6
     55 content-type: text/html
     56 funny-head: yesyes
     57 server: nghttpx
     58 via: 1.1 nghttpx
     59 
     60 </stdout>
     61 <errorcode>
     62 22
     63 </errorcode>
     64 </verify>
     65 </testcase>