1
0
mirror of https://github.com/httpie/cli.git synced 2025-05-27 22:58:00 +02:00
Carlo Sciolla c4627cc882
Custom file upload MIME type (#927)
* Support curl-like syntax for custom MIME type for files

In order to specify a custom MIME type for file uploads, a syntax
similar to that used by cURL is used so that

http -F test_file@/path/to/file.bin;type=application/zip https://...

forwards the user-provided file type if provided, otherwise falling
back to the usual guesswork out of the file extension.
2020-06-08 17:59:41 +02:00
..
2015-01-23 23:56:08 +01:00
2018-06-09 11:59:34 +02:00
2017-03-10 11:27:38 +01:00
2019-09-16 13:26:18 +02:00
2019-08-29 11:46:08 +02:00
2020-05-23 12:14:09 +02:00
2019-12-04 18:09:51 +01:00
2019-12-02 17:46:40 +01:00
2019-09-16 13:26:18 +02:00
2019-09-16 13:26:18 +02:00
2017-03-10 11:27:38 +01:00
2019-12-02 18:12:51 +01:00
2020-05-23 13:26:06 +02:00
2016-03-03 18:50:18 +08:00

HTTPie Test Suite
=================


Please see `CONTRIBUTING`_.


.. _CONTRIBUTING: https://github.com/jakubroztocil/httpie/blob/master/CONTRIBUTING.rst