File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1230
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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: 
   27: </connect>
   28: 
   29: <datacheck>
   30: HTTP/1.1 200 welcome dear
   31: Date: Thu, 09 Nov 2010 14:49:00 GMT
   32: 
   33: HTTP/1.1 200 OK
   34: Date: Thu, 09 Nov 2010 14:49:00 GMT
   35: Content-Length: 9
   36: 
   37: mooooooo
   38: </datacheck>
   39: </reply>
   40: 
   41: #
   42: # Client-side
   43: <client>
   44: <features>
   45: ipv6
   46: proxy
   47: </features>
   48: <server>
   49: http-proxy
   50: http-ipv6
   51: http
   52: </server>
   53:  <name>
   54: HTTP CONNECT to IPv6 numerical address
   55:  </name>
   56: # 0x4ce == 1230, the test number
   57:  <command>
   58: http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/1230 -p -x %HOSTIP:%HTTPPORT
   59: </command>
   60: </client>
   61: 
   62: #
   63: # Verify data after the test has been "shot"
   64: <verify>
   65: <strip>
   66: ^User-Agent:.*
   67: </strip>
   68: <protocol>
   69: CONNECT [1234:1234:1234::4ce]:%HTTPPORT HTTP/1.1
   70: Host: [1234:1234:1234::4ce]:%HTTPPORT
   71: Proxy-Connection: Keep-Alive
   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>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>