diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 19:08:45 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 19:08:45 +0100 |
commit | 3baf36edf6ed1d7c74d68846d79f87334b573aea (patch) | |
tree | 3946a907baae28c177dd65b4424deb7370d3d58c /tests/data/test259 | |
parent | fec7a858b88c86e97e5dc96414a01feb21a2b661 (diff) |
mime: tests and examples.
Additional mime-specific tests.
Existing tests updated to reflect small differences (Expect: 100-continue,
data size change due to empty lines, etc).
Option -F headers= keyword added to tests.
test1135 disabled until the entry point order change is resolved.
New example smtp-mime.
Examples postit2 and multi-post converted from form API to mime API.
Diffstat (limited to 'tests/data/test259')
-rw-r--r-- | tests/data/test259 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/test259 b/tests/data/test259 index 9532887a9..6e1853601 100644 --- a/tests/data/test259 +++ b/tests/data/test259 @@ -59,7 +59,7 @@ crypto HTTP POST multipart with Expect: header using proxy anyauth (Digest) </name> <command> --x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/259 -F name=daniel -F tool=curl -F file=@log/test259.txt -U uuuser:pppassword --proxy-anyauth +-x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/259 -F name=daniel -F tool=curl -F file=@log/test259.txt -U uuuser:pppassword --proxy-anyauth -H "Expect: 100-continue" </command> # We create this file before the command is invoked! <file name="log/test259.txt"> @@ -80,8 +80,8 @@ Host: remotehost:54321 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3
Accept: */*
Proxy-Connection: Keep-Alive
-Content-Length: 409
Expect: 100-continue
+Content-Length: 409
Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce
------------------------------7c633d5c27ce
@@ -107,8 +107,8 @@ User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 z Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/259", response="b479994d13e60f3aa192a67c5892ddc5"
Accept: */*
Proxy-Connection: Keep-Alive
-Content-Length: 409
Expect: 100-continue
+Content-Length: 409
Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce
------------------------------7c633d5c27ce
|