quickjs-tart

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

test369 (692B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 etag
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Server-side
     12 <reply>
     13 <data>
     14 HTTP/1.1 200 OK
     15 Content-Length: 4
     16 Content-Type: text/html
     17 
     18 hej
     19 </data>
     20 </reply>
     21 
     22 #
     23 # Client-side
     24 <client>
     25 <server>
     26 http
     27 </server>
     28 <name>
     29 --etag-save with bad path then working transfer
     30 </name>
     31 <command>
     32 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save %LOGDIR/nowhere/etag%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER --include --output %LOGDIR/curl%TESTNUMBER.out
     33 </command>
     34 </client>
     35 
     36 #
     37 # Verify data after the test has been "shot"
     38 <verify>
     39 <protocol>
     40 GET /%TESTNUMBER HTTP/1.1
     41 Host: %HOSTIP:%HTTPPORT
     42 User-Agent: curl/%VERSION
     43 Accept: */*
     44 
     45 </protocol>
     46 </verify>
     47 </testcase>