quickjs-tart

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

test306 (642B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTPS
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <data>
     13 No headers at all, just data swsclose
     14 
     15 Let's get
     16 
     17 a little
     18 
     19 so that
     20 
     21 we
     22 
     23 have
     24 
     25 some
     26 
     27 test
     28 
     29 data to
     30 
     31 verify
     32 </data>
     33 </reply>
     34 
     35 #
     36 # Client-side
     37 <client>
     38 <features>
     39 SSL
     40 </features>
     41 <server>
     42 https
     43 </server>
     44 <name>
     45 HTTPS GET, receive no headers only data!
     46 </name>
     47 <command>
     48 --insecure https://%HOSTIP:%HTTPSPORT/%TESTNUMBER --http0.9
     49 </command>
     50 </client>
     51 
     52 #
     53 # Verify data after the test has been "shot"
     54 <verify>
     55 <protocol>
     56 GET /%TESTNUMBER HTTP/1.1
     57 Host: %HOSTIP:%HTTPSPORT
     58 User-Agent: curl/%VERSION
     59 Accept: */*
     60 
     61 </protocol>
     62 </verify>
     63 </testcase>