Annotation of embedaddon/curl/tests/data/test325, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTPS
5: HTTP GET
6: --proto-redir
7: </keywords>
8: </info>
9:
10: #
11: # Server-side
12: <reply>
13: <data>
14: HTTP/1.1 301 OK
15: Date: Thu, 09 Nov 2010 14:49:00 GMT
16: Server: test-server/fake
17: Content-Length: 7
18: Location: http://somewhere/325
19:
20: MooMoo
21: </data>
22: <datacheck>
23: HTTP/1.1 301 OK
24: Date: Thu, 09 Nov 2010 14:49:00 GMT
25: Server: test-server/fake
26: Content-Length: 7
27: Location: http://somewhere/325
28:
29: </datacheck>
30: </reply>
31:
32: #
33: # Client-side
34: <client>
35: <features>
36: SSL
37: </features>
38: <server>
39: https
40: </server>
41: <name>
42: HTTPS with attempted redirect to denied HTTP
43: </name>
44: <command>
45: -k https://%HOSTIP:%HTTPSPORT/325 --proto-redir -http --location
46: </command>
47: </client>
48:
49: #
50: # Verify data after the test has been "shot"
51: <verify>
52: <strip>
53: ^User-Agent:.*
54: </strip>
55: <protocol>
56: GET /325 HTTP/1.1
57: Host: %HOSTIP:%HTTPSPORT
58: Accept: */*
59:
60: </protocol>
61: # 1 - Protocol http not supported or disabled in libcurl
62: <errorcode>
63: 1
64: </errorcode>
65: </verify>
66: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>