Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP CONNECT
      6 HTTP proxy
      7 IPv6
      8 </keywords>
      9 </info>
     10 
     11 #
     12 # Server-side
     13 <reply>
     14 
     15 <data>
     16 HTTP/1.1 200 OK
     17 Date: Thu, 09 Nov 2010 14:49:00 GMT
     18 Content-Length: 9
     19 
     20 mooooooo
     21 </data>
     22 
     23 <connect>
     24 HTTP/1.1 200 welcome dear
     25 Date: Thu, 09 Nov 2010 14:49:00 GMT
     26 Content-Length: 0
     27 
     28 </connect>
     29 
     30 <datacheck>
     31 HTTP/1.1 200 welcome dear
     32 Date: Thu, 09 Nov 2010 14:49:00 GMT
     33 Content-Length: 0
     34 
     35 HTTP/1.1 200 OK
     36 Date: Thu, 09 Nov 2010 14:49:00 GMT
     37 Content-Length: 9
     38 
     39 mooooooo
     40 </datacheck>
     41 </reply>
     42 
     43 #
     44 # Client-side
     45 <client>
     46 <features>
     47 ipv6
     48 </features>
     49 <server>
     50 http-proxy
     51 http-ipv6
     52 http
     53 </server>
     54  <name>
     55 HTTP CONNECT to IPv6 numerical address
     56  </name>
     57 # 0x4ce == 1230, the test number
     58  <command>
     59 http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/1230 -p -x %HOSTIP:%HTTPPORT
     60 </command>
     61 </client>
     62 
     63 #
     64 # Verify data after the test has been "shot"
     65 <verify>
     66 <strip>
     67 ^User-Agent:.*
     68 </strip>
     69 <protocol>
     70 CONNECT [1234:1234:1234::4ce]:%HTTPPORT HTTP/1.1
     71 Host: [1234:1234:1234::4ce]:%HTTPPORT
     72 
     73 GET /wanted/page/1230 HTTP/1.1
     74 Host: [1234:1234:1234::4ce]:%HTTPPORT
     75 Accept: */*
     76 
     77 </protocol>
     78 </verify>
     79 </testcase>
     80