~ubuntu-branches/ubuntu/intrepid/curl/intrepid

« back to all changes in this revision

Viewing changes to tests/data/test293

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070516151654-jo48r81zempo1qav
Tags: 7.16.2-3ubuntu1
* Merge with Debian; remaining changes:
  - Drop the stunnel build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
HTTP GET
 
6
--max-filesize
 
7
FAILURE
 
8
</keywords>
 
9
</info>
 
10
 
 
11
#
 
12
# Server-side
 
13
<reply>
 
14
<data nocheck="1">
 
15
HTTP/1.1 200 OK
 
16
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
17
Server: test-server/fake
 
18
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
 
19
ETag: "21025-dc7-39462498"
 
20
Accept-Ranges: bytes
 
21
Content-Length: 6
 
22
Connection: close
 
23
Content-Type: text/html
 
24
Funny-head: yesyes
 
25
 
 
26
-foo-
 
27
</data>
 
28
</reply>
 
29
 
 
30
#
 
31
# Client-side
 
32
<client>
 
33
<server>
 
34
http
 
35
</server>
 
36
 <name>
 
37
HTTP GET with maximum filesize exceeded
 
38
 </name>
 
39
 <command>
 
40
http://%HOSTIP:%HTTPPORT/293 --max-filesize 2
 
41
</command>
 
42
</client>
 
43
 
 
44
#
 
45
# Verify data after the test has been "shot"
 
46
<verify>
 
47
<errorcode>
 
48
63
 
49
</errorcode>
 
50
<strip>
 
51
^User-Agent:.*
 
52
</strip>
 
53
<protocol>
 
54
GET /293 HTTP/1.1
 
55
Host: 127.0.0.1:%HTTPPORT
 
56
Accept: */*
 
57
 
 
58
</protocol>
 
59
</verify>
 
60
</testcase>