~ubuntu-branches/ubuntu/edgy/curl/edgy-proposed

« back to all changes in this revision

Viewing changes to tests/data/test9

  • 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
1
# Server-side
2
2
<reply>
3
3
<data>
4
 
HTTP/1.1 200 OK
 
4
HTTP/1.1 200 OK swsclose
5
5
Date: Thu, 09 Nov 2010 14:49:00 GMT
6
6
Server: test-server/fake
7
7
 
12
12
 
13
13
# Client-side
14
14
<client>
 
15
<server>
 
16
http
 
17
</server>
15
18
 <name>
16
19
HTTP RFC1867-type formposting
17
20
 </name>
24
27
This is a moo-
25
28
bar
26
29
</file>
27
 
</test>
 
30
</client>
28
31
 
29
32
# Verify data after the test has been "shot"
30
33
<verify>
31
34
<strip>
32
 
^(User-Agent:|Content-Type: multipart/form-data;|--curl).*
 
35
^(User-Agent:|Content-Type: multipart/form-data;|------------).*
33
36
</strip>
34
37
<protocol>
35
38
POST /we/want/9 HTTP/1.1
 
39
User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3
36
40
Host: 127.0.0.1:8999
37
41
Pragma: no-cache
38
 
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
39
 
Content-Length: 375
 
42
Accept: */*
 
43
Content-Length: 411
40
44
Expect: 100-continue
41
 
Content-Type: multipart/form-data; boundary=curluczemxkcWWsxptLlAImrFQHwQ3W
 
45
Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763
42
46
 
43
 
--curluczemxkcWWsxptLlAImrFQHwQ3W
 
47
------------------------------9ef8d6205763
44
48
Content-Disposition: form-data; name="name"
45
49
 
46
50
daniel
47
 
--curluczemxkcWWsxptLlAImrFQHwQ3W
 
51
------------------------------9ef8d6205763
48
52
Content-Disposition: form-data; name="tool"
49
53
 
50
54
curl
51
 
--curluczemxkcWWsxptLlAImrFQHwQ3W
 
55
------------------------------9ef8d6205763
52
56
Content-Disposition: form-data; name="file"; filename="log/test9.txt"
53
57
Content-Type: text/plain
54
58
 
55
59
foo-
56
60
This is a moo-
57
61
bar
58
 
--curluczemxkcWWsxptLlAImrFQHwQ3W--
59
62
 
 
63
------------------------------9ef8d6205763--
60
64
</protocol>
61
65
</verify>