File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test579
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 POST
    6: HTTP Digest auth
    7: </keywords>
    8: </info>
    9: #
   10: # Server-side
   11: <reply>
   12: <data>
   13: HTTP/1.1 100 Continue
   14: Server: Microsoft-IIS/5.0
   15: Date: Sun, 03 Apr 2005 14:57:45 GMT
   16: X-Powered-By: ASP.NET
   17: 
   18: HTTP/1.1 401 authentication please swsbounce
   19: Server: Microsoft-IIS/6.0
   20: WWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
   21: Content-Type: text/html; charset=iso-8859-1
   22: Content-Length: 0
   23: 
   24: </data>
   25: <data1>
   26: HTTP/1.1 200 A OK
   27: Server: Microsoft-IIS/6.0
   28: Content-Type: text/html; charset=iso-8859-1
   29: Content-Length: 3
   30: 
   31: ok
   32: </data1>
   33: <datacheck>
   34: HTTP/1.1 100 Continue
   35: Server: Microsoft-IIS/5.0
   36: Date: Sun, 03 Apr 2005 14:57:45 GMT
   37: X-Powered-By: ASP.NET
   38: 
   39: HTTP/1.1 401 authentication please swsbounce
   40: Server: Microsoft-IIS/6.0
   41: WWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
   42: Content-Type: text/html; charset=iso-8859-1
   43: Content-Length: 0
   44: 
   45: HTTP/1.1 200 A OK
   46: Server: Microsoft-IIS/6.0
   47: Content-Type: text/html; charset=iso-8859-1
   48: Content-Length: 3
   49: 
   50: ok
   51: </datacheck>
   52: </reply>
   53: 
   54: # Client-side
   55: <client>
   56: <server>
   57: http
   58: </server>
   59: <features>
   60: crypto
   61: </features>
   62: # tool is what to use instead of 'curl'
   63: <tool>
   64: lib579
   65: </tool>
   66: 
   67:  <name>
   68: small chunked HTTP POSTs with digest auth. and progress callback
   69:  </name>
   70:  <command>
   71: http://%HOSTIP:%HTTPPORT/579 log/ip579
   72: </command>
   73: </client>
   74: 
   75: #
   76: # Verify data after the test has been "shot"
   77: <verify>
   78: <file name="log/ip579">
   79: Progress callback called with UL 0 out of 0
   80: Progress callback called with UL 8 out of 0
   81: Progress callback called with UL 16 out of 0
   82: Progress callback called with UL 26 out of 0
   83: Progress callback called with UL 61 out of 0
   84: Progress callback called with UL 66 out of 0
   85: </file>
   86: </verify>
   87: </testcase>

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