quickjs-tart

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

test1433 (876B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 
      9 <reply>
     10 <data nocheck="yes">
     11 HTTP/1.0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 200 OK
     12 Date: Tue, 09 Nov 2010 14:49:00 GMT
     13 Server: test-server/fake
     14 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
     15 ETag: "21025-dc7-39462498"
     16 Accept-Ranges: bytes
     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 <server>
     30 http
     31 </server>
     32 
     33 <name>
     34 HTTP GET with 100-digit subversion number in response
     35 </name>
     36 <command>
     37 http://%HOSTIP:%HTTPPORT/%TESTNUMBER
     38 </command>
     39 </client>
     40 
     41 #
     42 # Verify data after the test has been "shot"
     43 <verify>
     44 <protocol>
     45 GET /%TESTNUMBER HTTP/1.1
     46 Host: %HOSTIP:%HTTPPORT
     47 User-Agent: curl/%VERSION
     48 Accept: */*
     49 
     50 </protocol>
     51 <errorcode>
     52 1
     53 </errorcode>
     54 </verify>
     55 </testcase>