silverton-io / buz

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

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

Closed ricky-galvao closed 4 months ago

ricky-galvao commented 4 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.