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
..
2010-07-12 17:03:45 -05:00
2018-11-01 20:52:33 +00:00
2018-03-13 12:06:07 +00:00
2017-11-07 15:39:25 +11:00
2018-11-01 20:52:33 +00:00