~ubuntu-branches/ubuntu/dapper/curl/dapper-security

« back to all changes in this revision

Viewing changes to tests/data/test221

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-03-23 18:41:29 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050323184129-le70d05a0hk5w62j
Tags: 7.12.3-2ubuntu3
Fix the version numbers internal to debian/rules.  Closes; #8088

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Server-side
 
3
<reply>
 
4
<data base64=yes>
 
5
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
 
6
dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
 
7
UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
 
8
VmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J
 
9
U08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBnemlwDQpDb250ZW50LUxlbmd0aDogNDENCg0K
 
10
CHmeq0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAA=
 
11
</data>
 
12
 
 
13
# I removed the first three bytes of the gzip compressed contents
 
14
 
 
15
<datacheck>
 
16
HTTP/1.1 200 OK
 
17
Date: Mon, 29 Nov 2004 21:56:53 GMT
 
18
Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29
 
19
Vary: Accept-Encoding
 
20
Content-Type: text/html; charset=ISO-8859-1
 
21
Content-Encoding: gzip
 
22
Content-Length: 41
 
23
 
 
24
</datacheck>
 
25
 
 
26
</reply>
 
27
 
 
28
#
 
29
# Client-side
 
30
<client>
 
31
<features>
 
32
libz
 
33
</features>
 
34
<server>
 
35
http
 
36
</server>
 
37
 <name>
 
38
HTTP GET gzip compressed content with broken gzip header
 
39
 </name>
 
40
 <command>
 
41
http://%HOSTIP:%HTTPPORT/221 --compressed
 
42
</command>
 
43
</client>
 
44
 
 
45
#
 
46
# Verify data after the test has been "shot"
 
47
<verify>
 
48
<strip>
 
49
^User-Agent:.*
 
50
</strip>
 
51
<protocol>
 
52
GET /221 HTTP/1.1
 
53
Host: 127.0.0.1:%HTTPPORT
 
54
Pragma: no-cache
 
55
Accept: */*
 
56
Accept-Encoding: deflate, gzip
 
57
 
 
58
</protocol>
 
59
<errorcode>
 
60
61
 
61
</errorcode>
 
62
</verify>