mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 08:38:44 +02:00
c4627cc882
* 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. |
||
---|---|---|
.. | ||
cli | ||
output | ||
plugins | ||
__init__.py | ||
__main__.py | ||
client.py | ||
compat.py | ||
config.py | ||
context.py | ||
core.py | ||
downloads.py | ||
models.py | ||
sessions.py | ||
ssl.py | ||
status.py | ||
utils.py |