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

« back to all changes in this revision

Viewing changes to tests/data/test287

  • 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 CONNECT
 
6
HTTP proxy
 
7
proxytunnel
 
8
</keywords>
 
9
</info>
 
10
 
2
11
# Server-side
3
12
<reply>
4
13
 
5
14
# this is returned first since we get no proxy-auth
6
 
<data nocheck="1">
 
15
<data nocheck="yes">
7
16
HTTP/1.1 405 Method Not Allowed swsclose
8
17
 
9
18
And you should ignore this data.
20
29
HTTP proxy CONNECT with custom User-Agent header
21
30
 </name>
22
31
 <command>
23
 
http://test.remote.server.com:287/path/287 -H "User-Agent: looser/2007" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel
 
32
http://test.remote.haxx.se:287/path/287 -H "User-Agent: looser/2007" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel
24
33
</command>
25
34
</client>
26
35
 
27
36
# Verify data after the test has been "shot"
28
37
<verify>
29
38
<protocol>
30
 
CONNECT test.remote.server.com:287 HTTP/1.0
31
 
Host: test.remote.server.com:287
 
39
CONNECT test.remote.haxx.se:287 HTTP/1.1
 
40
Host: test.remote.haxx.se:287
32
41
Proxy-Connection: Keep-Alive
33
42
User-Agent: looser/2007
34
43