~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to tests/data/test1066

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (3.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-8xjr3o2sgce5s4bg
Tags: 7.19.4-1
* New upstream release
* Fix "newer bdb version" <explain what you changed and why> 
  (Closes: #517277)
* resolve libtool version confusion, thanks to 
  Stefanos Harhalakis <v13@v13.gr>
* add new dependency on libgcrypt11-dev due to newly arising binary symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
HTTP GET
 
6
</keywords>
 
7
</info>
 
8
 
 
9
# Server-side
 
10
<reply>
 
11
<data nocheck="yes">
 
12
HTTP/1.1 200 OK
 
13
Server: thebest/1.0
 
14
Content-Type: text/plain
 
15
Content-Length: 6
 
16
 
 
17
first
 
18
</data>
 
19
<data1 nocheck="yes">
 
20
HTTP/1.1 200 OK
 
21
Server: thebest/1.0
 
22
Content-Type: text/plain
 
23
Content-Length: 7
 
24
 
 
25
second
 
26
</data1>
 
27
</reply>
 
28
 
 
29
# Client-side
 
30
<client>
 
31
<server>
 
32
http
 
33
</server>
 
34
 <name>
 
35
HTTP --dump-header - with two URLs
 
36
 </name>
 
37
 <command>
 
38
http://%HOSTIP:%HTTPPORT/want/1066 http://%HOSTIP:%HTTPPORT/want/10660001 --dump-header -
 
39
</command>
 
40
</client>
 
41
 
 
42
# Verify data after the test has been "shot"
 
43
<verify>
 
44
<strip>
 
45
^User-Agent:.*
 
46
</strip>
 
47
<protocol>
 
48
GET /want/1066 HTTP/1.1
 
49
Host: %HOSTIP:%HTTPPORT
 
50
Accept: */*
 
51
 
 
52
GET /want/10660001 HTTP/1.1
 
53
Host: %HOSTIP:%HTTPPORT
 
54
Accept: */*
 
55
 
 
56
</protocol>
 
57
<stdout>
 
58
HTTP/1.1 200 OK
 
59
HTTP/1.1 200 OK
 
60
Server: thebest/1.0
 
61
Server: thebest/1.0
 
62
Content-Type: text/plain
 
63
Content-Type: text/plain
 
64
Content-Length: 6
 
65
Content-Length: 6
 
66
 
 
67
 
 
68
first
 
69
HTTP/1.1 200 OK
 
70
HTTP/1.1 200 OK
 
71
Server: thebest/1.0
 
72
Server: thebest/1.0
 
73
Content-Type: text/plain
 
74
Content-Type: text/plain
 
75
Content-Length: 7
 
76
Content-Length: 7
 
77
 
 
78
 
 
79
second
 
80
</stdout>
 
81
</verify>
 
82
</testcase>