~ubuntu-branches/ubuntu/quantal/curl/quantal

« back to all changes in this revision

Viewing changes to tests/data/test34

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2002-03-12 19:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020312190621-iqx7k9cipo5d0ifr
Tags: upstream-7.9.5
ImportĀ upstreamĀ versionĀ 7.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Server-side
 
3
<reply>
 
4
<data>
 
5
HTTP/1.1 200 funky chunky!
 
6
Server: fakeit/0.9 fakeitbad/1.0
 
7
Transfer-Encoding: chunked
 
8
Connection: mooo
 
9
 
 
10
40
 
11
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
12
30
 
13
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
 
14
21;heresatest=moooo
 
15
cccccccccccccccccccccccccccccccc
 
16
 
 
17
0
 
18
muuu
 
19
</data>
 
20
<datacheck>
 
21
HTTP/1.1 200 funky chunky!
 
22
Server: fakeit/0.9 fakeitbad/1.0
 
23
Transfer-Encoding: chunked
 
24
Connection: mooo
 
25
 
 
26
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc
 
27
</datacheck>
 
28
</reply>
 
29
 
 
30
#
 
31
# Client-side
 
32
<client>
 
33
 <name>
 
34
HTTP GET with chunked Transfer-Encoding
 
35
 </name>
 
36
 <command>
 
37
http://%HOSTIP:%HOSTPORT/34
 
38
</command>
 
39
</test>
 
40
 
 
41
#
 
42
# Verify data after the test has been "shot"
 
43
<verify>
 
44
<strip>
 
45
^User-Agent:.*
 
46
</strip>
 
47
<protocol>
 
48
GET /34 HTTP/1.1
 
49
Host: 127.0.0.1:8999
 
50
Pragma: no-cache
 
51
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
 
52
 
 
53
</protocol>
 
54
</verify>
 
55