From 3baf36edf6ed1d7c74d68846d79f87334b573aea Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Sat, 2 Sep 2017 19:08:45 +0100 Subject: 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. --- tests/data/test589 | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/data/test589 (limited to 'tests/data/test589') diff --git a/tests/data/test589 b/tests/data/test589 new file mode 100644 index 000000000..451bb15bd --- /dev/null +++ b/tests/data/test589 @@ -0,0 +1,55 @@ + + + +HTTP +HTTP POST +HTTP MIME + + + +# +# Server-side + + +HTTP/1.1 200 OK swsclose +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 3 + +OK + + + +# Client-side + + +http + +# tool is what to use instead of 'curl' + +lib589 + + + +make a HTTP MIME POST set to NULL + + +http://%HOSTIP:%HTTPPORT/589 + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +POST /589 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* +Content-Length: 0 + + + + -- cgit v1.2.3