~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to tests/data/test1077

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-04-29 11:10:29 UTC
  • mfrom: (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090429111029-2j5eiyokfw2bw049
Tags: 7.19.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* drop debian/patches/security_CVE-2009-0037.patch 
  - this patch is part of 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
FTP
 
5
HTTP
 
6
HTTP/1.0
 
7
HTTP GET
 
8
HTTP proxy
 
9
</keywords>
 
10
</info>
 
11
 
 
12
#
 
13
# Server-side
 
14
<reply>
 
15
<data>
 
16
HTTP/1.0 200 OK
 
17
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
18
Server: test-server/fake
 
19
Content-Type: text/plain
 
20
Content-Length: 9
 
21
Funny-head: yesyes
 
22
Proxy-Connection: Keep-Alive
 
23
 
 
24
contents
 
25
</data>
 
26
<data2>
 
27
HTTP/1.0 200 OK
 
28
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
29
Server: test-server/fake
 
30
Content-Type: text/plain
 
31
Content-Length: 9
 
32
Funny-head: yesyes
 
33
Proxy-Connection: Keep-Alive
 
34
 
 
35
contents
 
36
</data2>
 
37
</reply>
 
38
 
 
39
#
 
40
# Client-side
 
41
<client>
 
42
<server>
 
43
http
 
44
</server>
 
45
<features>
 
46
ftp
 
47
</features>
 
48
 <name>
 
49
FTP over HTTP proxy with downgrade to HTTP 1.0
 
50
 </name>
 
51
 <command>
 
52
-x %HOSTIP:%HTTPPORT ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1077 ftp://%HOSTIP:%HTTPPORT/we/want/that/page/10770002
 
53
</command>
 
54
</client>
 
55
 
 
56
#
 
57
# Verify data after the test has been "shot"
 
58
<verify>
 
59
<strip>
 
60
^User-Agent:.*
 
61
</strip>
 
62
<protocol>
 
63
GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1077 HTTP/1.1
 
64
Host: %HOSTIP:%HTTPPORT
 
65
Accept: */*
 
66
Proxy-Connection: Keep-Alive
 
67
 
 
68
GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/10770002 HTTP/1.0
 
69
Host: %HOSTIP:%HTTPPORT
 
70
Accept: */*
 
71
Proxy-Connection: Keep-Alive
 
72
 
 
73
</protocol>
 
74
</verify>
 
75
</testcase>