Annotation of embedaddon/curl/tests/data/test503, revision 1.1.1.1

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTP
                      5: HTTP GET
                      6: HTTP CONNECT
                      7: HTTP proxy
                      8: HTTP proxy Basic auth
                      9: proxytunnel
                     10: multi
                     11: </keywords>
                     12: </info>
                     13: 
                     14: # Server-side
                     15: <reply>
                     16: <servercmd>
                     17: connection-monitor
                     18: </servercmd>
                     19: <connect>
                     20: HTTP/1.1 200 Mighty fine indeed
                     21: 
                     22: </connect>
                     23: <data>
                     24: HTTP/1.1 200 OK swsclose
                     25: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     26: Server: test-server/fake
                     27: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
                     28: ETag: "21025-dc7-39462498"
                     29: 
                     30: </data>
                     31: <datacheck>
                     32: HTTP/1.1 200 Mighty fine indeed
                     33: 
                     34: HTTP/1.1 200 OK swsclose
                     35: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     36: Server: test-server/fake
                     37: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
                     38: ETag: "21025-dc7-39462498"
                     39: 
                     40: </datacheck>
                     41: </reply>
                     42: 
                     43: # Client-side
                     44: <client>
                     45: <server>
                     46: http
                     47: http-proxy
                     48: </server>
                     49: # tool is what to use instead of 'curl'
                     50: <tool>
                     51: lib503
                     52: </tool>
                     53: <features>
                     54: proxy
                     55: </features>
                     56:  <name>
                     57: simple multi http:// through proxytunnel with authentication info
                     58:  </name>
                     59:  <command>
                     60: http://machine.503:%HTTPPORT/503 %HOSTIP:%PROXYPORT
                     61: </command>
                     62: <file name="log/test503.txt">
                     63: foo
                     64:    bar
                     65: bar
                     66:    foo
                     67: moo
                     68: </file>
                     69: </client>
                     70: 
                     71: # Verify data after the test has been "shot"
                     72: <verify>
                     73: <proxy>
                     74: CONNECT machine.503:%HTTPPORT HTTP/1.1
                     75: Host: machine.503:%HTTPPORT
                     76: Proxy-Authorization: Basic dGVzdDppbmc=
                     77: Proxy-Connection: Keep-Alive
                     78: 
                     79: </proxy>
                     80: <protocol>
                     81: GET /503 HTTP/1.1
                     82: Host: machine.503:%HTTPPORT
                     83: Authorization: Basic dGVzdDppbmc=
                     84: Accept: */*
                     85: 
                     86: [DISCONNECT]
                     87: </protocol>
                     88: </verify>
                     89: </testcase>

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