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

« back to all changes in this revision

Viewing changes to tests/data/test193

  • 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 nocheck=1>
 
5
HTTP/1.1 302 OK swsbounce swsclose
 
6
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
7
Content-Length: 8
 
8
Connection: close
 
9
Location: ./193
 
10
 
 
11
monster
 
12
</data>
 
13
<data1 nocheck=1>
 
14
HTTP/1.1 200 OK
 
15
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
16
Content-Length: 8
 
17
Connection: close
 
18
 
 
19
monster
 
20
</data1>
 
21
 
 
22
</reply>
 
23
 
 
24
#
 
25
# Client-side
 
26
<client>
 
27
<server>
 
28
http
 
29
</server>
 
30
 <name>
 
31
HTTP GET -w num_connects with redirected fetch (2 connects)
 
32
 </name>
 
33
 <command>
 
34
http://%HOSTIP:%HTTPPORT/193 -w '%{num_connects}\n' -L
 
35
</command>
 
36
</client>
 
37
 
 
38
#
 
39
# Verify data after the test has been "shot"
 
40
<verify>
 
41
<strip>
 
42
^User-Agent:.*
 
43
</strip>
 
44
<protocol>
 
45
GET /193 HTTP/1.1
 
46
Host: 127.0.0.1:%HTTPPORT
 
47
Pragma: no-cache
 
48
Accept: */*
 
49
 
 
50
GET /193 HTTP/1.1
 
51
Host: 127.0.0.1:%HTTPPORT
 
52
Pragma: no-cache
 
53
Accept: */*
 
54
 
 
55
</protocol>
 
56
 
 
57
<stdout>
 
58
HTTP/1.1 302 OK swsbounce swsclose
 
59
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
60
Content-Length: 8
 
61
Connection: close
 
62
Location: ./193
 
63
 
 
64
HTTP/1.1 200 OK
 
65
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
66
Content-Length: 8
 
67
Connection: close
 
68
 
 
69
monster
 
70
2
 
71
</stdout>
 
72
 
 
73
</verify>