~ubuntu-branches/ubuntu/natty/curl/natty-proposed

« back to all changes in this revision

Viewing changes to tests/data/test217

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-05-24 21:12:19 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (3.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20090524211219-7jgcwuhl04ixuqsm
Tags: upstream-7.19.5
ImportĀ upstreamĀ versionĀ 7.19.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
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
 
2
14
# Server-side
3
15
<reply>
4
16
 
5
17
# this is returned first since we get no proxy-auth
6
 
<data nocheck="1">
 
18
<data nocheck="yes">
7
19
HTTP/1.1 405 Method Not Allowed swsclose
8
20
 
9
21
And you should ignore this data.
20
32
HTTP proxy CONNECT to proxy returning 405
21
33
 </name>
22
34
 <command>
23
 
http://test.remote.server.com:217/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
 
35
http://test.remote.haxx.se:217/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
24
36
</command>
25
37
</client>
26
38
 
30
42
^User-Agent: curl/.*
31
43
</strip>
32
44
<protocol>
33
 
CONNECT test.remote.server.com:217 HTTP/1.0
34
 
Host: test.remote.server.com:217
 
45
CONNECT test.remote.haxx.se:217 HTTP/1.1
 
46
Host: test.remote.haxx.se:217
35
47
Proxy-Connection: Keep-Alive
36
48
 
37
49
</protocol>