quickjs-tart

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

test374 (1350B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 gif data
      7 </keywords>
      8 </info>
      9 
     10 <reply>
     11 <data nonewline="yes">
     12 HTTP/1.1 200 OK
     13 Date: Thu, 22 Jul 2010 11:22:33 GMT
     14 Connection: close
     15 Content-Type: image/gif
     16 X-Control: swsclose
     17 
     18 %hex[%47%49%46%38%39%61%14%00%14%00%a1%04%00%fe%00%00%ff%00%00%1e%42%ee%1f%42%ef%21%ff%0b%4e%45%54%53%43%41%50%45%32%2e%30%03%01%00%00%00%21%fe%24%43%72%65%61%74%65%64%20%62%79%20%46%61%62%69%61%6e%20%4b%65%69%6c%20%77%69%74%68%20%54%68%65%20%47%49%4d%50%00%21%f9%04%00%0a%00%ff%00%2c%00%00%00%00%14%00%14%00%00%02%11%8c%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%21%f9%04%01%0a%00%02%00%2c%00%00%00%00%14%00%14%00%00%02%11%9c%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%21%f9%04%00%0a%00%ff%00%2c%00%00%00%00%14%00%14%00%00%02%11%94%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%21%f9%04%00%0a%00%ff%00%2c%00%00%00%00%14%00%14%00%00%02%11%84%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%3b]hex%
     19 </data>
     20 </reply>
     21 
     22 <client>
     23 <server>
     24 http
     25 </server>
     26 <name>
     27 Valid gif with two frames. No new line in data section.
     28 </name>
     29 <features>
     30 proxy
     31 </features>
     32 <command>
     33 http://%HOSTIP:%HTTPPORT/gif/%TESTNUMBER
     34 </command>
     35 </client>
     36 
     37 <verify>
     38 <protocol>
     39 GET /gif/%TESTNUMBER HTTP/1.1
     40 Host: %HOSTIP:%HTTPPORT
     41 User-Agent: curl/%VERSION
     42 Accept: */*
     43 
     44 </protocol>
     45 <errorcode>
     46 0
     47 </errorcode>
     48 </verify>
     49 </testcase>