quickjs-tart

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

test2400 (783B)


      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 200 OK
     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
     36 http/2
     37 </server>
     38 <name>
     39 HTTP/2 GET over HTTPS
     40 </name>
     41 <setenv>
     42 </setenv>
     43 <command>
     44 --insecure --http2 "https://%HOSTIP:%HTTP2TLSPORT/%TESTNUMBER"
     45 </command>
     46 
     47 </client>
     48 
     49 #
     50 # Verify data after the test has been "shot"
     51 <verify>
     52 <stdout crlf="yes">
     53 HTTP/2 200 
     54 date: Tue, 09 Nov 2010 14:49:00 GMT
     55 content-length: 6
     56 content-type: text/html
     57 funny-head: yesyes
     58 server: nghttpx
     59 via: 1.1 nghttpx
     60 
     61 -foo-
     62 </stdout>
     63 </verify>
     64 </testcase>