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

« back to all changes in this revision

Viewing changes to tests/data/test1045

  • 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
HTTP
 
5
HTTP GET
 
6
--interface
 
7
</keywords>
 
8
</info>
 
9
 
 
10
#
 
11
# Server-side
 
12
<reply>
 
13
<data>
 
14
HTTP/1.1 200 OK
 
15
Date: Mon, 28 Jul 2008 14:49:00 GMT
 
16
Server: test-server/fake
 
17
Content-Length: 6
 
18
Connection: close
 
19
Content-Type: text/plain
 
20
 
 
21
-foo-
 
22
</data>
 
23
</reply>
 
24
 
 
25
#
 
26
# Client-side
 
27
<client>
 
28
<server>
 
29
http
 
30
</server>
 
31
 <name>
 
32
HTTP GET with numeric localhost --interface
 
33
 </name>
 
34
 <command>
 
35
http://%HOSTIP:%HTTPPORT/1045 --interface %CLIENTIP
 
36
</command>
 
37
</client>
 
38
 
 
39
#
 
40
# Verify data after the test has been "shot"
 
41
<verify>
 
42
<strip>
 
43
^User-Agent:.*
 
44
</strip>
 
45
<protocol>
 
46
GET /1045 HTTP/1.1
 
47
Host: %HOSTIP:%HTTPPORT
 
48
Accept: */*
 
49
 
 
50
</protocol>
 
51
</verify>
 
52
</testcase>