Annotation of embedaddon/curl/tests/data/test217, 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: proxytunnel
9: followlocation
10: --write-out
11: </keywords>
12: </info>
13:
14: # Server-side
15: <reply>
16:
17: # this is returned first since we get no proxy-auth
18: <connect nocheck="yes">
19: HTTP/1.1 405 Method Not Allowed swsclose
20:
21: And you should ignore this data.
22: </connect>
23:
24: </reply>
25:
26: # Client-side
27: <client>
28: <server>
29: http
30: </server>
31: <name>
32: HTTP proxy CONNECT to proxy returning 405
33: </name>
34: <command>
35: http://test.remote.example.com.217:%HTTPPORT/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
36: </command>
37: <features>
38: proxy
39: </features>
40: </client>
41:
42: # Verify data after the test has been "shot"
43: <verify>
44: <strip>
45: ^User-Agent: curl/.*
46: </strip>
47: <protocol>
48: CONNECT test.remote.example.com.217:%HTTPPORT HTTP/1.1
49: Host: test.remote.example.com.217:%HTTPPORT
50: Proxy-Connection: Keep-Alive
51:
52: </protocol>
53: # CURLE_RECV_ERROR
54: <errorcode>
55: 56
56: </errorcode>
57: <stdout>
58: HTTP/1.1 405 Method Not Allowed swsclose
59:
60: 000 405
61: </stdout>
62: </verify>
63: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>