mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Add parameter for set maximum length after decompress #503
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ikrivosheev on GitHub (Mar 27, 2024).
Hello! It'll be great to have parameter
max_lengthinDecompressor(http://python-hyper.org/projects/brotlipy/en/latest/api.html#brotli.Decompressor.decompress) like in python zlib: https://docs.python.org/3/library/zlib.html#zlib.Decompress.decompress.The parameter mean that the return value will be no longer than
max_length. I need it for use in http client.Related issue in aiohttp: https://github.com/aio-libs/aiohttp/issues/8248