Mickaël Schoentgen
8374a9ed83
Review OSError exceptions handling ( #1080 )
...
- Replace obsolete `IOError` (Python 2) with `OSError`,
cf https://docs.python.org/3/library/exceptions.html#OSError .
- Improve `OSError` catches at different places, simplifying
the code.
2021-05-31 10:10:41 +02:00
Mickaël Schoentgen
0ff0874fa3
Modernize the code base with f-strings ( #1068 )
2021-05-25 20:49:07 +02:00
Mickaël Schoentgen
a3a08a9a22
Use relative imports ( #1057 )
...
* Use relative imports in test
* Use relative imports
* Add myself to contributors :)
2021-05-05 14:13:39 +02:00
Shubhendra Singh Chauhan
9883a46575
Cleanup ( #993 )
2020-12-21 12:03:25 +01:00
Jakub Roztocil
6925d930da
Add support for streamed uploads, --chunked, finish --multipart, etc.
...
Close #201
Close #753
Close #684
Close #903
Related: #452
2020-09-28 12:16:57 +02:00
Jakub Roztocil
6cd934d1b8
Add support for multipart upload streaming
...
Close #684 , #201
2020-08-15 17:50: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
Jakub Roztocil
4b524e6a8c
v2.0.0
2020-01-12 10:50:57 +01:00
Jakub Roztocil
f0058eeaee
cleanup
2019-12-02 10:42:33 +01:00
Jakub Roztocil
37fa67cd3c
Runnable KeyValueArgType.tokenize doctest
2019-09-17 09:07:12 +02:00
Jakub Roztocil
e8ef5a783f
Annotate and refactor streams.py
2019-08-31 18:21:10 +02:00
Jakub Roztocil
aba3b1ec01
Refactoring
2019-08-31 15:17:10 +02:00