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

1.1     ! misho       1: <testcase>
        !             2: <info>
        !             3: <keywords>
        !             4: HTTPS
        !             5: HTTP POST
        !             6: </keywords>
        !             7: </info>
        !             8: 
        !             9: # Server-side
        !            10: <reply>
        !            11: <data>
        !            12: HTTP/1.1 200 OK
        !            13: Date: Thu, 09 Nov 2010 14:49:00 GMT
        !            14: Server: test-server/fake
        !            15: Content-Length: 10
        !            16: 
        !            17: blablabla
        !            18: </data>
        !            19: </reply>
        !            20: 
        !            21: # Client-side
        !            22: <client>
        !            23: <features>
        !            24: SSL
        !            25: </features>
        !            26: <server>
        !            27: https
        !            28: </server>
        !            29:  <name>
        !            30: HTTPS multipart formpost
        !            31:  </name>
        !            32:  <command>
        !            33: -k https://%HOSTIP:%HTTPSPORT/we/want/304 -F name=daniel -F tool=curl -F file=@log/test304.txt
        !            34: </command>
        !            35: # We create this file before the command is invoked!
        !            36: <file name="log/test304.txt">
        !            37: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
        !            38: </file>
        !            39: </client>
        !            40: 
        !            41: # Verify data after the test has been "shot"
        !            42: <verify>
        !            43: <strip>
        !            44: ^(User-Agent:|Content-Type: multipart/form-data;|------).*
        !            45: </strip>
        !            46: <protocol>
        !            47: POST /we/want/304 HTTP/1.1
        !            48: User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3
        !            49: Host: %HOSTIP:%HTTPSPORT
        !            50: Accept: */*
        !            51: Content-Length: 1386
        !            52: Content-Type: multipart/form-data; boundary=----------------------------c3b2ef7f0bb8
        !            53: 
        !            54: ------------------------------c3b2ef7f0bb8
        !            55: Content-Disposition: form-data; name="name"
        !            56: 
        !            57: daniel
        !            58: ------------------------------c3b2ef7f0bb8
        !            59: Content-Disposition: form-data; name="tool"
        !            60: 
        !            61: curl
        !            62: ------------------------------c3b2ef7f0bb8
        !            63: Content-Disposition: form-data; name="file"; filename="test304.txt"
        !            64: Content-Type: text/plain
        !            65: 
        !            66: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
        !            67: 
        !            68: ------------------------------c3b2ef7f0bb8--
        !            69: </protocol>
        !            70: </verify>
        !            71: </testcase>

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