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

« back to all changes in this revision

Viewing changes to tests/data/test198

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-03-23 18:41:29 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050323184129-9hgq7luenq51umpu
Tags: upstream-7.12.3
ImportĀ upstreamĀ versionĀ 7.12.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Server-side
 
3
<reply>
 
4
<data>
 
5
HTTP/1.1 503 OK swsbounce
 
6
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
7
Content-Length: 21
 
8
 
 
9
server not available
 
10
</data>
 
11
<data1>
 
12
HTTP/1.1 200 OK
 
13
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
14
Content-Length: 3
 
15
Connection: close
 
16
 
 
17
ok
 
18
</data1>
 
19
 
 
20
<datacheck>
 
21
HTTP/1.1 200 OK
 
22
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
23
Content-Length: 3
 
24
Connection: close
 
25
 
 
26
ok
 
27
</datacheck>
 
28
 
 
29
</reply>
 
30
 
 
31
#
 
32
# Client-side
 
33
<client>
 
34
<server>
 
35
http
 
36
</server>
 
37
 <name>
 
38
HTTP GET --retry on 503 error with output to file
 
39
 </name>
 
40
 <command>
 
41
http://%HOSTIP:%HTTPPORT/198 --retry 1000
 
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 /198 HTTP/1.1
 
53
Host: 127.0.0.1:%HTTPPORT
 
54
Pragma: no-cache
 
55
Accept: */*
 
56
 
 
57
GET /198 HTTP/1.1
 
58
Host: 127.0.0.1:%HTTPPORT
 
59
Pragma: no-cache
 
60
Accept: */*
 
61
 
 
62
</protocol>
 
63
 
 
64
</verify>