tardis-dev 3.2.0__tar.gz → 3.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tardis-dev
3
- Version: 3.2.0
3
+ Version: 3.3.0
4
4
  Summary: Python client for tardis.dev - historical tick-level cryptocurrency market data replay API.
5
5
  Home-page: https://github.com/tardis-dev/tardis-python
6
6
  License: MPL-2.0
@@ -9,7 +9,7 @@ markers = [
9
9
 
10
10
  [tool.poetry]
11
11
  name = "tardis-dev"
12
- version = "3.2.0"
12
+ version = "3.3.0"
13
13
  description = "Python client for tardis.dev - historical tick-level cryptocurrency market data replay API."
14
14
  readme = "README.md"
15
15
  homepage = "https://github.com/tardis-dev/tardis-python"
@@ -118,7 +118,7 @@ async def _download(
118
118
  content_encoding = response.headers.get("Content-Encoding")
119
119
  if content_encoding == "zstd":
120
120
  final_path = f"{dest_path}.zst"
121
- elif content_encoding == "gzip":
121
+ elif content_encoding is None or content_encoding == "gzip":
122
122
  final_path = f"{dest_path}.gz"
123
123
  else:
124
124
  raise urllib.error.HTTPError(
File without changes
File without changes