silverton-io / buz

Serverless multi-protocol + multi-destination event collection system.
https://oss.buz.dev/
Apache License 2.0
198 stars 23 forks source link

Add Support for Webhook Inputs to Handle GZIP Compressed Requests #588

Closed ricky-galvao closed 7 months ago

ricky-galvao commented 7 months ago

The Webhook input does not currently check the Content-Encoding field in the request header to determine if the body is gzip compressed. The request body must be decompressed during handling, but it currently is not. In contrast, this is done in the SelfDescribing Input. This support should be carried over to the webhook as well.