Mr. Outis
27f581cf4e
py3: remove imports from utils.compat
2019-12-31 23:16:11 -06:00
Paweł Redzyński
7218ff202c
remote: http: rename http error, refactor test
2019-11-29 15:30:55 +01:00
Paweł Redzyński
72abfb0572
remote: http: raise exception when download response with error status code
2019-11-29 15:30:55 +01:00
Alexander Schepanovski
ffb52b256b
perf: do not import http.server each run
...
It is only used in tests.
2019-09-17 18:41:05 +07:00
Alexander Schepanovski
e5e29065c8
api: make .open() stream data for Azure
...
This employs generating temporary signed public url and then streaming
from it. The bulk of the code might be reused for other remotes.
Url streaming does resume on connection error using "Range" header and
regenerates public url too.
If remote class doesn't provide .open() then this falls back to pulling
a file and opening it locally.
2019-08-09 21:51:43 +07:00
Ruslan Kuprieiev
e215364e6d
test: http: use random port ( #2269 )
...
Fixes #1878
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-15 13:18:10 +03:00
Dmitry
fdecb8d45c
Remove unnecessary import
2019-02-19 13:05:03 -08:00
Paweł Redzyński
3d07c0a039
import: add resume flag ( #1540 )
...
Resume import
2019-02-04 21:40:08 +02:00
Ruslan Kuprieiev
4069e34130
dvc: use black instead of flake8
...
Fixes #1546
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-30 03:48:36 +02:00
Mr. Outis
3009a25ae2
remote http: use Content-MD5 header if there is not ETag available
...
Fix #1412
2019-01-28 19:02:41 -06:00
pared
d5fecc34bd
test: httpd: add lock for server
2019-01-28 22:01:34 +01:00
Mr. Outis
0d46921ec7
py2: add unicode literals
...
Fix #1512
2019-01-27 20:40:21 -06:00
Mr. Outis
1e3d752917
remote: HTTP implemented (support only for downloading) ( #1350 )
...
* remote: HTTP implemented (support only for downloading)
* Remove duplicated content in the schema
* Chomp trailing spaces in test_remote
* remote http: Implement pull/fetch
* add some tests
* Update dvc/remote/http.py
Co-Authored-By: mroutis <[email protected] >
* Update dvc/remote/http.py
Co-Authored-By: mroutis <[email protected] >
* correct test
* rehprase error message
* add __init__ for utils
* try to fix windows test
2018-11-24 21:22:05 +02:00