Support gzip compressed JSON bodies in rest testbench #379
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
In #322, gzip decompression of request bodies was refactored to properly handle media uploads, however the PR removed support for handling gzip compressed JSON bodies for metadata operations. The change broke Java conformance tests in newer versions because the client compresses JSON bodies on request and is not parse-able by the flask app.
We need to add the gzip decompression when
Content-Type: gzip
is present on metadata requests.The text was updated successfully, but these errors were encountered: