|
@@ -210,7 +210,10 @@ class _CopyvioWorker(object): |
|
|
return None |
|
|
return None |
|
|
|
|
|
|
|
|
with self._workspace.request_semaphore: |
|
|
with self._workspace.request_semaphore: |
|
|
content = response.read() |
|
|
|
|
|
|
|
|
try: |
|
|
|
|
|
content = response.read() |
|
|
|
|
|
except (URLError, error): |
|
|
|
|
|
return None |
|
|
|
|
|
|
|
|
if response.headers.get("Content-Encoding") == "gzip": |
|
|
if response.headers.get("Content-Encoding") == "gzip": |
|
|
stream = StringIO(content) |
|
|
stream = StringIO(content) |
|
|