Annotation of embedaddon/curl/tests/data/test1134, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP HEAD
6: -G
7: </keywords>
8: </info>
9: #
10: # Server-side
11: <reply>
12: <servercmd>
13: connection-monitor
14: </servercmd>
15: <data>
16: HTTP/1.1 200 OK
17: Date: Thu, 09 Nov 2010 14:49:00 GMT
18: Content-Length: 10
19:
20: contents1
21: </data>
22: <data1>
23: HTTP/1.1 200 OK
24: Date: Thu, 09 Nov 2010 14:49:00 GMT
25: Content-Length: 10
26:
27: contents2
28: </data1>
29: </reply>
30:
31: #
32: # Client-side
33: <client>
34: <server>
35: http
36: </server>
37: <name>
38: HTTP connection re-use with different credentials
39: </name>
40: <command>
41: http://%HOSTIP:%HTTPPORT/1134 -u user1:password1 --next http://%HOSTIP:%HTTPPORT/11340001 -u 2user:password2
42: </command>
43: </client>
44:
45: #
46: # Verify data after the test has been "shot"
47: <verify>
48: <strip>
49: ^User-Agent:.*
50: </strip>
51: <protocol>
52: GET /1134 HTTP/1.1
53: Host: %HOSTIP:%HTTPPORT
54: Authorization: Basic dXNlcjE6cGFzc3dvcmQx
55: Accept: */*
56:
57: GET /11340001 HTTP/1.1
58: Host: %HOSTIP:%HTTPPORT
59: Authorization: Basic MnVzZXI6cGFzc3dvcmQy
60: Accept: */*
61:
62: [DISCONNECT]
63: </protocol>
64: </verify>
65: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>