~ubuntu-branches/ubuntu/warty/curl/warty-security

« back to all changes in this revision

Viewing changes to tests/data/test57

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2004-06-04 19:09:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040604190925-wy048bp31320r2z6
Tags: 7.12.0.is.7.11.2-1
* Reverted to version 7.11.2 (closes: #252348).
* Disabled support for libidn (closes: #252367). This is to leave
  curl in unstable as much similar as possible to the one in testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Server-side
 
2
<reply>
 
3
<data>
 
4
HTTP/1.1 200 OK swsclose
 
5
Funny-head: yesyes
 
6
Content-Type: text/html; charset=ISO-8859-4   
 
7
 
 
8
</data>
 
9
</reply>
 
10
 
 
11
# Client-side
 
12
<client>
 
13
<server>
 
14
http
 
15
</server>
 
16
 <name>
 
17
HTTP content-type with spaces in
 
18
 </name>
 
19
 <command>
 
20
-w '%{content_type}\n' %HOSTIP:%HOSTPORT/57 -o log/out57
 
21
</command>
 
22
</test>
 
23
 
 
24
# Verify data after the test has been "shot"
 
25
<verify>
 
26
<file name="log/out57">
 
27
text/html; charset=ISO-8859-4
 
28
</file>
 
29
<strip>
 
30
^User-Agent:.*
 
31
</strip>
 
32
<protocol>
 
33
GET /57 HTTP/1.1
 
34
Host: 127.0.0.1:8999
 
35
Pragma: no-cache
 
36
Accept: */*
 
37
 
 
38
</protocol>
 
39
</verify>