1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00
httpie-cli/httpie
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
..
cli Custom file upload MIME type (#927) 2020-06-08 17:59:41 +02:00
output Add --format-options to allow disabling sorting, etc. 2020-05-27 16:01:17 +02:00
plugins Add --format-options to allow disabling sorting, etc. 2020-05-27 16:01:17 +02:00
__init__.py 2.2.0-dev 2020-04-18 12:57:56 +02:00
__main__.py Add httpie.status 2019-09-16 13:26:18 +02:00
client.py Refactor built-in plugin registry to avoid circular imports 2020-05-26 10:07:34 +02:00
compat.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
config.py Cleanup & refactor XDG_CONFIG_HOME support 2020-05-23 12:12:35 +02:00
context.py Remove unused imports 2020-04-13 17:37:27 +02:00
core.py Refactor built-in plugin registry to avoid circular imports 2020-05-26 10:07:34 +02:00
downloads.py Removed duplicate type annotation. (#888) 2020-04-13 18:15:48 +02:00
models.py Refactoring 2019-08-31 15:17:10 +02:00
sessions.py Refactor built-in plugin registry to avoid circular imports 2020-05-26 10:07:34 +02:00
ssl.py Cleanup 2020-05-23 20:30:25 +02:00
status.py Cleanup 2019-12-02 00:58:10 +01:00
utils.py Improve --debug output formatting 2019-08-31 18:00:03 +02:00