Skip to content

Commit

Permalink
Compress requests, support zstd
Browse files Browse the repository at this point in the history
Compress requests larger than 1K using zstd if available and otherwise
with zlib. `requests` already supports responses compressed with zstd if
`zstandard` is available.
  • Loading branch information
mgorven committed Apr 29, 2024
1 parent 29ce0ff commit 0328e10
Show file tree
Hide file tree
Showing 5 changed files with 429 additions and 457 deletions.
6 changes: 4 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ name = "pypi"

[packages]
cryptography = "*"
lightspark-crypto-python = "*"
pyjwt = "*"
requests = "*"
lightspark-crypto-python = "*"
zstandard = "*"

[dev-packages]
black = "*"
black = "<24"
flask = "<2.3"
importlib_metadata = "*"
isort = "==5.11.4"
libcst = "<1.2" # Stopped supporting Python 3.8
pylint = "*"
pyre-check = "*"
pytest = "*"
Expand Down
Loading

0 comments on commit 0328e10

Please sign in to comment.