quickjs-tart

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

test1408 (1052B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 IPv6
      7 cookies
      8 cookiejar
      9 </keywords>
     10 </info>
     11 #
     12 # Server-side
     13 <reply>
     14 <data1>
     15 HTTP/1.1 200 OK
     16 Date: Tue, 09 Nov 2010 14:49:00 GMT
     17 Content-Length: 6
     18 Connection: close
     19 Content-Type: text/html
     20 Set-Cookie: time=1
     21 
     22 -foo-
     23 </data1>
     24 <data2>
     25 HTTP/1.1 200 OK
     26 Date: Tue, 09 Nov 2010 14:49:00 GMT
     27 Content-Length: 6
     28 Connection: close
     29 Content-Type: text/html
     30 Set-Cookie: time=2
     31 
     32 -foo-
     33 </data2>
     34 
     35 
     36 </reply>
     37 
     38 #
     39 # Client-side
     40 <client>
     41 <features>
     42 cookies
     43 IPv6
     44 </features>
     45 <server>
     46 http-ipv6
     47 </server>
     48 <name>
     49 HTTP receive cookies over IPV6
     50 </name>
     51 <command>
     52 -c %LOGDIR/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002
     53 </command>
     54 </client>
     55 
     56 #
     57 # Verify data after the test has been "shot"
     58 <verify>
     59 <protocol>
     60 GET /path/%TESTNUMBER0001 HTTP/1.1
     61 Host: %HOST6IP:%HTTP6PORT
     62 User-Agent: curl/%VERSION
     63 Accept: */*
     64 
     65 GET /path/%TESTNUMBER0002 HTTP/1.1
     66 Host: %HOST6IP:%HTTP6PORT
     67 User-Agent: curl/%VERSION
     68 Accept: */*
     69 Cookie: time=1
     70 
     71 </protocol>
     72 </verify>
     73 </testcase>