SUSE / telemetry-server

Proof of Concept Telemetry Server scaffolding
Apache License 2.0
2 stars 0 forks source link

Handle compressed payload in the request to /telemetry/report handler #14

Closed mbelur closed 2 months ago

mbelur commented 2 months ago

This change handles compressed payload in the /telemetry/report handler

Determines whether the request payload is compressed content or not based on the Content-Encoding Header and supports the gzip compression algorithm.

Also adds a unittest to test the compressed payload handling

Addresses: https://github.com/SUSE/telemetry-server/issues/7