-
-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Thank you for the great work! 🙏
It would be awesome if Granian could decompress request bodies with Content-Encoding
header set. Many of the Python web frameworks can not do it out-of-the-box (eg FastAPI only supports doing it the other way for the responses). It might also have some performance benefits if its done inside the Granian server instead of later in the Python framework side.
This feature might require additional settings to opt-in for specific decompressors (eg zstd/gzip). Also it might require adding a config for maximum decompressed payload size. So we would decompress the received body in chunks and error if the decompressed size grows too big per user configured limit.
Metadata
Metadata
Assignees
Labels
No labels