Annotation of embedaddon/curl/tests/data/test16, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: HTTP proxy
7: HTTP proxy Basic auth
8: </keywords>
9: </info>
10:
11: # Server-side
12: <reply>
13: <data>
14: HTTP/1.1 200 OK
15: Date: Thu, 09 Nov 2010 14:49:00 GMT
16: Server: test-server/fake
17: Content-Type: text/html
18: Funny-head: yesyes
19: Content-Length: 22
20:
21: the content goes here
22: </data>
23: </reply>
24:
25: # Client-side
26: <client>
27: <server>
28: http
29: </server>
30: <name>
31: HTTP with proxy authorization
32: </name>
33: <command>
34: -U fake@user:loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x %HOSTIP:%HTTPPORT http://we.want.that.site.com/16
35: </command>
36: <features>
37: proxy
38: </features>
39: </client>
40:
41: # Verify data after the test has been "shot"
42: <verify>
43: <strip>
44: ^User-Agent:.*
45: </strip>
46: <protocol>
47: GET http://we.want.that.site.com/16 HTTP/1.1
48: Host: we.want.that.site.com
49: Proxy-Authorization: Basic ZmFrZUB1c2VyOmxvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw==
50: Accept: */*
51: Proxy-Connection: Keep-Alive
52:
53: </protocol>
54: </verify>
55: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>