Annotation of embedaddon/curl/tests/data/test2050, revision 1.1

1.1     ! misho       1: <testcase>
        !             2: <info>
        !             3: <keywords>
        !             4: HTTP
        !             5: HTTP GET
        !             6: HTTP CONNECT
        !             7: HTTP proxy
        !             8: proxytunnel
        !             9: CURLOPT_CONNECT_TO
        !            10: </keywords>
        !            11: </info>
        !            12: 
        !            13: #
        !            14: # Server-side
        !            15: <reply>
        !            16: <connect>
        !            17: HTTP/1.1 200 Connection established
        !            18: 
        !            19: </connect>
        !            20: 
        !            21: <data>
        !            22: HTTP/1.1 200 OK
        !            23: Date: Thu, 09 Nov 2010 14:49:00 GMT
        !            24: Content-Length: 3
        !            25: Content-Type: text/plain
        !            26: 
        !            27: OK
        !            28: </data>
        !            29: 
        !            30: <datacheck>
        !            31: HTTP/1.1 200 Connection established
        !            32: 
        !            33: HTTP/1.1 200 OK
        !            34: Date: Thu, 09 Nov 2010 14:49:00 GMT
        !            35: Content-Length: 3
        !            36: Content-Type: text/plain
        !            37: 
        !            38: OK
        !            39: </datacheck>
        !            40: </reply>
        !            41: 
        !            42: #
        !            43: # Client-side
        !            44: <client>
        !            45: <server>
        !            46: http
        !            47: http-proxy
        !            48: </server>
        !            49:  <name>
        !            50: Connect to specific host via HTTP proxy (switch to tunnel mode automatically)
        !            51:  </name>
        !            52: 
        !            53:  <command>
        !            54: http://www.example.com.2050/2050 --connect-to ::connect.example.com.2050:%HTTPPORT -x %HOSTIP:%PROXYPORT
        !            55: </command>
        !            56: <features>
        !            57: proxy
        !            58: </features>
        !            59: </client>
        !            60: 
        !            61: #
        !            62: # Verify data after the test has been "shot"
        !            63: <verify>
        !            64: <strip>
        !            65: ^User-Agent:.*
        !            66: </strip>
        !            67: <proxy>
        !            68: CONNECT connect.example.com.2050:%HTTPPORT HTTP/1.1
        !            69: Host: connect.example.com.2050:%HTTPPORT
        !            70: Proxy-Connection: Keep-Alive
        !            71: 
        !            72: </proxy>
        !            73: <protocol>
        !            74: GET /2050 HTTP/1.1
        !            75: Host: www.example.com.2050
        !            76: Accept: */*
        !            77: 
        !            78: </protocol>
        !            79: 
        !            80: </verify>
        !            81: </testcase>

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