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

« back to all changes in this revision

Viewing changes to tests/data/test510

  • 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.1 200 OK
 
6
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
7
Server: test-server/fake swsclose
 
8
Connection: close
 
9
Content-Type: text/html
 
10
 
 
11
hello
 
12
</data>
 
13
</reply>
 
14
 
 
15
# Client-side
 
16
<client>
 
17
<server>
 
18
http
 
19
</server>
 
20
# tool is what to use instead of 'curl'
 
21
<tool>
 
22
lib510
 
23
</tool>
 
24
 
 
25
 <name>
 
26
send HTTP POST using read callback, using chunked transfer-encoding
 
27
 </name>
 
28
 <command>
 
29
http://%HOSTIP:%HOSTPORT/510
 
30
</command>
 
31
</client>
 
32
 
 
33
#
 
34
# Verify data after the test has been "shot"
 
35
<verify>
 
36
<protocol>
 
37
POST /510 HTTP/1.1
 
38
Host: 127.0.0.1:8999
 
39
Pragma: no-cache
 
40
Accept: */*
 
41
Transfer-Encoding: chunked
 
42
Content-Type: application/x-www-form-urlencoded
 
43
 
 
44
3
 
45
one
 
46
3
 
47
two
 
48
5
 
49
three
 
50
1d
 
51
and a final longer crap: four
 
52
0
 
53
 
 
54
</protocol>
 
55
</verify>