quickjs-tart

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

test434 (560B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 --config
      6 </keywords>
      7 </info>
      8 
      9 #
     10 <reply>
     11 <data>
     12 HTTP/1.1 200 OK
     13 Content-Length: 6
     14 Content-Type: text/1
     15 
     16 -foo-
     17 </data>
     18 </reply>
     19 
     20 #
     21 <client>
     22 <file name="%LOGDIR/config%TESTNUMBER" nonewline="yes">
     23 url = %HOSTIP:%HTTPPORT/%TESTNUMBER
     24 </file>
     25 <server>
     26 http
     27 </server>
     28 <name>
     29 -K with a single line without newline
     30 </name>
     31 <command>
     32 -K %LOGDIR/config%TESTNUMBER
     33 </command>
     34 </client>
     35 
     36 #
     37 <verify>
     38 <protocol>
     39 GET /%TESTNUMBER HTTP/1.1
     40 Host: %HOSTIP:%HTTPPORT
     41 User-Agent: curl/%VERSION
     42 Accept: */*
     43 
     44 </protocol>
     45 </verify>
     46 </testcase>