1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00
httpie-cli/httpie/cli
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
..
__init__.py Refactoring 2019-08-31 15:17:10 +02:00
argparser.py Refactor built-in plugin registry to avoid circular imports 2020-05-26 10:07:34 +02:00
argtypes.py Use : instead of = in `--format-options 2020-05-28 14:24:15 +02:00
constants.py Custom file upload MIME type (#927) 2020-06-08 17:59:41 +02:00
definition.py Custom file upload MIME type (#927) 2020-06-08 17:59:41 +02:00
dicts.py Refactoring 2019-08-31 15:17:10 +02:00
exceptions.py Refactoring 2019-08-31 15:17:10 +02:00
requestitems.py Custom file upload MIME type (#927) 2020-06-08 17:59:41 +02:00