~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to tests/data/test173

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-10-18 11:13:17 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20101018111317-9rkas34ecwtq0upn
Tags: upstream-7.21.2
ImportĀ upstreamĀ versionĀ 7.21.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
HTTP POST
 
6
</keywords>
 
7
</info>
 
8
 
2
9
# Server-side
3
10
<reply>
4
11
<data>
21
28
HTTP RFC1867-formpost a file from stdin with "faked" filename
22
29
 </name>
23
30
 <command>
24
 
http://%HOSTIP:%HTTPPORT/we/want/173 -F field1=contents1 -F "fileupload=@-;filename=/dev/null"
 
31
http://%HOSTIP:%HTTPPORT/we/want/173 -F field1=contents1 -F "fileupload=@-;filename=/dev/null;type=text/x-null;format=x-curl"
25
32
</command>
26
33
 
27
34
<stdin>
46
53
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
47
54
Host: %HOSTIP:%HTTPPORT
48
55
Accept: */*
49
 
Content-Length: 359
 
56
Content-Length: 360
50
57
Expect: 100-continue
51
58
Content-Type: multipart/form-data; boundary=----------------------------5dbea401cd8c
52
59
 
56
63
contents1
57
64
------------------------------5dbea401cd8c
58
65
Content-Disposition: form-data; name="fileupload"; filename="/dev/null"
59
 
Content-Type: application/octet-stream
 
66
Content-Type: text/x-null;format=x-curl
60
67
 
61
68
line1
62
69
line2