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

1.1     ! misho       1: <testcase>
        !             2: <info>
        !             3: <keywords>
        !             4: HTTP
        !             5: HTTP PUT
        !             6: HTTP proxy
        !             7: HTTP Digest auth
        !             8: Resume
        !             9: Content-Range
        !            10: CUSTOMREQUEST
        !            11: </keywords>
        !            12: </info>
        !            13: 
        !            14: # Server-side
        !            15: <reply>
        !            16: <data>
        !            17: HTTP/1.1 100 Continue
        !            18: Server: Microsoft-IIS/5.0
        !            19: Date: Sun, 03 Apr 2005 14:57:45 GMT
        !            20: X-Powered-By: ASP.NET
        !            21: 
        !            22: HTTP/1.1 401 authentication please swsbounce
        !            23: Server: Microsoft-IIS/6.0
        !            24: WWW-Authenticate: Digest realm="testrealm", algorithm="SHA-512-256", nonce="1053604144", userhash=true
        !            25: Content-Type: text/html; charset=iso-8859-1
        !            26: Content-Length: 0
        !            27: 
        !            28: </data>
        !            29: <data1000>
        !            30: HTTP/1.1 200 A OK
        !            31: Server: Microsoft-IIS/6.0
        !            32: Content-Type: text/html; charset=iso-8859-1
        !            33: Content-Length: 3
        !            34: 
        !            35: ok
        !            36: </data1000>
        !            37: 
        !            38: <datacheck>
        !            39: HTTP/1.1 100 Continue
        !            40: Server: Microsoft-IIS/5.0
        !            41: Date: Sun, 03 Apr 2005 14:57:45 GMT
        !            42: X-Powered-By: ASP.NET
        !            43: 
        !            44: HTTP/1.1 401 authentication please swsbounce
        !            45: Server: Microsoft-IIS/6.0
        !            46: WWW-Authenticate: Digest realm="testrealm", algorithm="SHA-512-256", nonce="1053604144", userhash=true
        !            47: Content-Type: text/html; charset=iso-8859-1
        !            48: Content-Length: 0
        !            49: 
        !            50: HTTP/1.1 200 A OK
        !            51: Server: Microsoft-IIS/6.0
        !            52: Content-Type: text/html; charset=iso-8859-1
        !            53: Content-Length: 3
        !            54: 
        !            55: ok
        !            56: </datacheck>
        !            57: 
        !            58: </reply>
        !            59: 
        !            60: # Client-side
        !            61: <client>
        !            62: # 
        !            63: <server>
        !            64: http
        !            65: </server>
        !            66: <features>
        !            67: !SSPI
        !            68: crypto
        !            69: proxy
        !            70: </features>
        !            71:  <name>
        !            72: HTTP POST --digest with PUT, resumed upload, modified method, SHA-512-256 and userhash=true
        !            73:  </name>
        !            74:  <command>
        !            75: http://%HOSTIP:%HTTPPORT/2059 -u auser:apasswd --digest -T log/2059 -x  http://%HOSTIP:%HTTPPORT -C 2 -X GET
        !            76: </command>
        !            77: <file name="log/2059">
        !            78: test
        !            79: </file>
        !            80: </client>
        !            81: 
        !            82: # Verify data after the test has been "shot"
        !            83: <verify>
        !            84: <strip>
        !            85: ^User-Agent:.*
        !            86: </strip>
        !            87: <protocol>
        !            88: GET http://%HOSTIP:%HTTPPORT/2059 HTTP/1.1
        !            89: Host: %HOSTIP:%HTTPPORT
        !            90: Content-Range: bytes 2-4/5
        !            91: User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
        !            92: Accept: */*
        !            93: Proxy-Connection: Keep-Alive
        !            94: Content-Length: 0
        !            95: 
        !            96: GET http://%HOSTIP:%HTTPPORT/2059 HTTP/1.1
        !            97: Host: %HOSTIP:%HTTPPORT
        !            98: Authorization: Digest username="fddc3bc7b753b73ab0848fd83cb20cbbca971258eb8d20c941dd5e0b010d66be", realm="testrealm", nonce="1053604144", uri="/2059", response="fc09be8192851e284e73e8b719b32a2f6f91cca0594e68713da8c49dc2c1656e", algorithm=SHA-512-256, userhash=true
        !            99: Content-Range: bytes 2-4/5
        !           100: Accept: */*
        !           101: Proxy-Connection: Keep-Alive
        !           102: Content-Length: 3
        !           103: Expect: 100-continue
        !           104: 
        !           105: st
        !           106: </protocol>
        !           107: </verify>
        !           108: </testcase>

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