Files
swift/test/unit/common/middleware
Christian Schwede 90b161b74f Add content-encoding parameter to formpost middleware
The content-type parameter can already be set when uploading file
objects, for example as a hidden field in the form sent by the browser.

Sometimes it is also required to set the content-encoding of an object,
for example when uploading a gzipped logfile or html file; see [1] for
further reference. This patch adds this option and tests existing and
new functionality for content-type and content-encoding.

[1] https://tools.ietf.org/html/rfc2616#section-14.11

Change-Id: I3dd47c7c999c29d62075955301fd763ad0b2c602
2019-02-06 00:08:17 +00:00
..
2018-11-20 01:30:04 -06:00
2018-06-26 13:20:49 -07:00
2018-12-03 12:52:00 +01:00
2018-06-11 10:05:49 -07:00
2018-12-11 15:46:01 -08:00
2018-10-01 12:52:22 -07:00
2018-12-12 20:26:10 +01:00