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

1.1     ! misho       1: <testcase>
        !             2: <info>
        !             3: <keywords>
        !             4: HTTP
        !             5: HTTP/1.0
        !             6: HTTP GET
        !             7: HTTP CONNECT
        !             8: HTTP proxy
        !             9: proxytunnel
        !            10: </keywords>
        !            11: </info>
        !            12: 
        !            13: #
        !            14: # Server-side
        !            15: <reply>
        !            16: <connect>
        !            17: HTTP/1.1 200 Mighty fine indeed
        !            18: Server: test tunnel 2000
        !            19: 
        !            20: </connect>
        !            21: 
        !            22: <data nocheck="yes">
        !            23: HTTP/1.0 200 OK
        !            24: Date: Thu, 09 Nov 2010 14:49:00 GMT
        !            25: Server: test-server/fake
        !            26: Content-Type: text/html
        !            27: Funny-head: yesyes
        !            28: Content-Length: 9
        !            29: Connection: keep-alive
        !            30: 
        !            31: contents
        !            32: </data>
        !            33: </reply>
        !            34: 
        !            35: #
        !            36: # Client-side
        !            37: <client>
        !            38: <server>
        !            39: http
        !            40: http-proxy
        !            41: </server>
        !            42:  <name>
        !            43: HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0
        !            44:  </name>
        !            45:  <command>
        !            46: --proxy1.0 %HOSTIP:%PROXYPORT -p http://%HOSTIP.1078:%HTTPPORT/we/want/that/page/1078 http://%HOSTIP.1078:%HTTPPORT/we/want/that/page/1078
        !            47: </command>
        !            48: <features>
        !            49: proxy
        !            50: </features>
        !            51: </client>
        !            52: 
        !            53: #
        !            54: # Verify data after the test has been "shot"
        !            55: <verify>
        !            56: <strip>
        !            57: ^User-Agent:.*
        !            58: </strip>
        !            59: <proxy>
        !            60: CONNECT %HOSTIP.1078:%HTTPPORT HTTP/1.0
        !            61: Host: %HOSTIP.1078:%HTTPPORT
        !            62: Proxy-Connection: Keep-Alive
        !            63: 
        !            64: </proxy>
        !            65: <protocol>
        !            66: GET /we/want/that/page/1078 HTTP/1.1
        !            67: Host: %HOSTIP.1078:%HTTPPORT
        !            68: Accept: */*
        !            69: 
        !            70: GET /we/want/that/page/1078 HTTP/1.0
        !            71: Host: %HOSTIP.1078:%HTTPPORT
        !            72: Accept: */*
        !            73: 
        !            74: </protocol>
        !            75: <stdout>
        !            76: HTTP/1.1 200 Mighty fine indeed
        !            77: Server: test tunnel 2000
        !            78: 
        !            79: HTTP/1.0 200 OK
        !            80: Date: Thu, 09 Nov 2010 14:49:00 GMT
        !            81: Server: test-server/fake
        !            82: Content-Type: text/html
        !            83: Funny-head: yesyes
        !            84: Content-Length: 9
        !            85: Connection: keep-alive
        !            86: 
        !            87: contents
        !            88: HTTP/1.0 200 OK
        !            89: Date: Thu, 09 Nov 2010 14:49:00 GMT
        !            90: Server: test-server/fake
        !            91: Content-Type: text/html
        !            92: Funny-head: yesyes
        !            93: Content-Length: 9
        !            94: Connection: keep-alive
        !            95: 
        !            96: contents
        !            97: </stdout>
        !            98: </verify>
        !            99: </testcase>

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