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

« back to all changes in this revision

Viewing changes to tests/data/test97

  • 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
#
 
2
# Server-side
 
3
<reply>
 
4
<data>
 
5
HTTP/1.0 200 OK
 
6
Server: test-server/fake
 
7
Content-Type: text/html
 
8
Content-Length: 6
 
9
 
 
10
blaha
 
11
</data>
 
12
</reply>
 
13
 
 
14
#
 
15
# Client-side
 
16
<client>
 
17
<server>
 
18
http
 
19
</server>
 
20
 <name>
 
21
HTTP POST with custom content-type
 
22
 </name>
 
23
 <command>
 
24
 -d "hejsanallabarn" -H "Content-Type: silly/type" http://%HOSTIP:%HOSTPORT/97
 
25
</command>
 
26
</test>
 
27
 
 
28
#
 
29
# Verify data after the test has been "shot"
 
30
<verify>
 
31
<strip>
 
32
^User-Agent:.*
 
33
</strip>
 
34
<protocol nonewline=yes>
 
35
POST /97 HTTP/1.1
 
36
Host: 127.0.0.1:8999
 
37
Pragma: no-cache
 
38
Accept: */*
 
39
Content-Type: silly/type
 
40
Content-Length: 14
 
41
 
 
42
hejsanallabarn
 
43
</protocol>
 
44
</verify>