tizen 2.3.1 release
[external/curl.git] / tests / data / test302
1 <testcase>
2 <info>
3 <keywords>
4 HTTPS
5 HTTP GET
6 HTTP CONNECT
7 HTTP proxy
8 FAILURE
9 </keywords>
10 </info>
11
12 # Server-side
13 <reply>
14
15 <connect nocheck="yes">
16 HTTP/1.1 405 Method Not Allowed swsclose\r
17 \r
18 And you should ignore this data.
19 </connect>
20
21 </reply>
22
23 # Client-side
24 <client>
25 <features>
26 SSL
27 </features>
28 <server>
29 https
30 </server>
31  <name>
32 HTTPS GET over HTTP proxy fails
33  </name>
34  <command>
35 -k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:302/slash/302
36 </command>
37 </client>
38
39 #
40 # Verify data after the test has been "shot"
41 <verify>
42 <errorcode>
43 56
44 </errorcode>
45 <strip>
46 ^User-Agent:.*
47 </strip>
48 <data>
49 </data>
50 </verify>
51 </testcase>