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
|
464b5b4c1d
|
Polish Python 2 removal (#1070)
|
2021-05-27 13:05: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 |
|
Jan Verbeek
|
84c7327057
|
Correctly handle single-byte Content-Range (#1032)
HTTPie previously failed if it continued a download with a single byte left.
|
2021-02-14 13:30:58 +01:00 |
|
Jakub Roztocil
|
2afdc958c6
|
Update URLs
|
2020-12-23 22:07:27 +01:00 |
|
Mio
|
5754e33a75
|
Removed duplicate type annotation. (#888)
|
2020-04-13 18:15:48 +02:00 |
|
Tim Gates
|
89faec994a
|
Fix simple typo: downland -> download (#823)
Closes #822
|
2019-12-04 13:32:08 +01:00 |
|
Jakub Roztocil
|
bece3c77bb
|
Add one-by-one processing of each HTTP request or response and --offline
|
2019-09-03 17:14:39 +02:00 |
|
Jakub Roztocil
|
0f654388fc
|
Python 3 annotations, super(), pathlib, etc.
|
2019-08-30 15:14:51 +02:00 |
|
Jakub Roztocil
|
63df735fef
|
Update links to HTTPS
|
2019-08-30 10:07:01 +02:00 |
|
Jakub Roztocil
|
b3d2c1876e
|
Python 2.7 support removal WIP
|
2019-08-29 08:53:56 +02:00 |
|
Jakub Roztocil
|
6dee49357d
|
Fix comments
|
2019-06-24 12:29:42 +02:00 |
|
Jakub Roztocil
|
df36d6255d
|
Changed the way the output filename is generated
When ``--download`` without ``--output`` results in a redirect,
now only the initial URL is considered, not the final one.
|
2019-06-24 12:20:09 +02:00 |
|
Jakub Roztocil
|
7917f1b40c
|
Build fixes and clean-up
* reflect Python 3.7 release
* fix `pycodestyle` errors
* update `pycodestyle` config
* move `pytest` and `pycodestyle` config to `setup.cfg`
* add `make pycodestyle`
* add `make coveralls`
* etc.
|
2018-07-12 21:16:16 +02:00 |
|
Jakub Roztocil
|
c948f98b05
|
Update links
|
2017-03-10 11:27:38 +01:00 |
|
Jakub Roztocil
|
aab5cd9da0
|
PEP8. clean-up
|
2016-07-04 20:30:55 +02:00 |
|
Jakub Roztocil
|
557911b606
|
Handle that os.pathconf is posix-only
|
2016-03-17 16:14:14 +08:00 |
|
Jakub Roztocil
|
5300b0b490
|
Fixed #451 - OSError: [Errno 36] File name too long
|
2016-03-17 15:58:01 +08:00 |
|
Jakub Roztocil
|
25d1e8e418
|
Add Accept-Encoding: identity for --download
#423
|
2016-03-07 11:46:59 +08:00 |
|
Jakub Roztocil
|
ed08ab133e
|
Refactoring
|
2016-02-29 15:00:17 +08:00 |
|
Jakub Roztocil
|
2b51cb6687
|
Updated links II.
|
2015-07-03 18:55:45 +02:00 |
|
Jakub Roztocil
|
0f96348fd1
|
Cleanup
|
2014-07-18 13:39:47 +02:00 |
|
Jakub Roztocil
|
d9eca19b8f
|
New URL.
|
2014-05-05 21:17:23 +02:00 |
|
Jakub Roztocil
|
05db75bdb1
|
Modularized output, refactoring
Making it ready for output formatting plugin API.
|
2014-04-27 21:58:00 +02:00 |
|
Jakub Roztocil
|
af4aa3a761
|
Test improvements.
|
2014-04-25 12:18:35 +02:00 |
|
Jakub Roztocil
|
6071fff4af
|
Refactored tests into smaller modules.
|
2014-04-24 14:07:31 +02:00 |
|
Jakub Roztocil
|
b01906a45c
|
Fixed ZeroDivisionError in download summary.
Closes #202
|
2014-02-18 13:06:18 +01:00 |
|
Jakub Roztocil
|
29f6b6a2a9
|
Improved Content-Disposition parsing for --download mode
Closes #168.
|
2013-09-24 19:50:37 +02:00 |
|
Jakub Roztocil
|
00de49f4c3
|
Cleanup
|
2013-08-18 00:59:10 +02:00 |
|
Jakub Roztocil
|
383dba524a
|
Print error when download is interrupted by server
Close #147
|
2013-07-07 17:00:03 +02:00 |
|
Jakub Roztocil
|
5af88756a6
|
Fixed download ETA for Python 2.6.
|
2013-05-14 12:49:29 +02:00 |
|
Jakub Roztocil
|
7f624e61b5
|
Use Thread instead of Timer for progress reporting.
|
2013-05-14 12:49:03 +02:00 |
|
Jakub Roztocil
|
1fc8396c4b
|
Stop the progres reporter thread on error.
|
2013-04-16 04:55:45 -03:00 |
|
Jakub Roztocil
|
6c3b983c18
|
Tests
|
2013-04-15 00:56:47 -03:00 |
|
Jakub Roztocil
|
cfa7199f0b
|
Added a simple download test.
|
2013-04-13 15:34:31 -03:00 |
|
Jakub Roztocil
|
5a1177d57e
|
Fixed downloads with no Content-Length.
|
2013-04-13 14:50:46 -03:00 |
|
Jakub Roztocil
|
c63a92f9b7
|
Cleanup
|
2013-04-12 22:02:34 -03:00 |
|
Jakub Roztocil
|
d17e02792b
|
Fixed length progress bar.
|
2013-04-12 21:49:27 -03:00 |
|
Jakub Roztocil
|
289e9b844e
|
Fixed Content-Type retrieval for Python 3.
|
2013-04-12 14:07:21 -03:00 |
|
Jakub Roztocil
|
4d84d77851
|
Cleanup
|
2013-04-12 13:09:57 -03:00 |
|
Jakub Roztocil
|
d32acfe2fa
|
Only use Range when already have a partial download.
|
2013-04-12 11:56:05 -03:00 |
|
Jakub Roztocil
|
38206e9e92
|
Cleanup
|
2013-04-12 11:26:42 -03:00 |
|
Jakub Roztocil
|
341272db1e
|
Added support for output redirection with --download (#104).
|
2013-04-12 11:04:14 -03:00 |
|
Jakub Roztocil
|
9d043eb745
|
Used Content-Disposition filename (#104).
|
2013-04-12 10:19:49 -03:00 |
|
Jakub Roztocil
|
40bd8f65af
|
Handle KeyboardInterrupt while --download'ing (#104).
|
2013-04-12 09:08:19 -03:00 |
|
Jakub Roztocil
|
347653b369
|
Performance and progress bar improvements.
#104
|
2013-04-12 08:59:33 -03:00 |
|
Jakub Roztocil
|
ebfce6fb93
|
Improved progress bar (#104).
|
2013-04-11 18:51:21 -03:00 |
|
Jakub Roztocil
|
674acfe2c2
|
Cleanup
|
2013-04-11 16:23:15 -03:00 |
|
Jakub Roztocil
|
7ccdece39f
|
Cleanup
|
2013-04-11 04:00:41 -03:00 |
|