quickjs-tart

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

test1170 (1390B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 compressed
      7 Transfer-Encoding
      8 </keywords>
      9 </info>
     10 #
     11 # Server-side
     12 <reply>
     13 <data nocheck="yes">
     14 HTTP/1.1 200 OK
     15 Date: Mon, 29 Nov 2004 21:56:53 GMT
     16 Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29
     17 Vary: Accept-Encoding
     18 Content-Type: text/html; charset=ISO-8859-1
     19 Transfer-Encoding: gzip, chunked
     20 
     21 2c
     22 %hex[%1f%8b%08%08%79%9e%ab%41%00%03%6c%61%6c%61%6c%61%00%cb%c9%cc%4b%55%30%e4%52%c8%01%d1%46%5c]hex%
     23 %hex[%10%86%31%17%00]hex%
     24 %hex[%02%71%60%18%00%00%00]hex%
     25 0
     26 
     27 </data>
     28 
     29 <datacheck>
     30 HTTP/1.1 200 OK
     31 Date: Mon, 29 Nov 2004 21:56:53 GMT
     32 Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29
     33 Vary: Accept-Encoding
     34 Content-Type: text/html; charset=ISO-8859-1
     35 Transfer-Encoding: gzip, chunked
     36 
     37 line 1
     38  line 2
     39   line 3
     40 </datacheck>
     41 
     42 </reply>
     43 
     44 #
     45 # Client-side
     46 <client>
     47 <features>
     48 libz
     49 </features>
     50 <server>
     51 http
     52 </server>
     53 <name>
     54 HTTP GET transfer-encoding with removed Connection:
     55 </name>
     56 <command>
     57 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding -H "Connection:"
     58 </command>
     59 </client>
     60 
     61 #
     62 # Verify data after the test has been "shot"
     63 <verify>
     64 <protocol>
     65 GET /%TESTNUMBER HTTP/1.1
     66 Host: %HOSTIP:%HTTPPORT
     67 User-Agent: curl/%VERSION
     68 Accept: */*
     69 Connection: TE
     70 TE: gzip
     71 
     72 </protocol>
     73 </verify>
     74 </testcase>