diff --git a/dvc/tree/http.py b/dvc/tree/http.py index abed95ca4..dfe6f8bb9 100644 --- a/dvc/tree/http.py +++ b/dvc/tree/http.py @@ -136,12 +136,6 @@ class HTTPTree(BaseTree): # pylint:disable=abstract-method "Content-MD5 header for '{url}'".format(url=url) ) - if etag.startswith("W/"): - raise DvcException( - "Weak ETags are not supported." - " (Etag: '{etag}', URL: '{url}')".format(etag=etag, url=url) - ) - return etag def _download(self, from_info, to_file, name=None, no_progress_bar=False): diff --git a/dvc/tree/webdav.py b/dvc/tree/webdav.py index 115de3176..48c48b89a 100644 --- a/dvc/tree/webdav.py +++ b/dvc/tree/webdav.py @@ -142,14 +142,6 @@ class WebDAVTree(BaseTree): # pylint:disable=abstract-method "Content-MD5 header for '{url}'".format(url=path_info.url) ) - if etag.startswith("W/"): - raise DvcException( - "Weak ETags are not supported." - " (Etag: '{etag}', URL: '{url}')".format( - etag=etag, url=path_info.url - ) - ) - return etag # Checks whether path points to directory