This message was deleted.
# announcements
s
This message was deleted.
t
It is for GZIP support for JSONInput. It is not a deal breaker but it would be nice.
b
Hey @T Oo I think we added support in https://github.com/bentoml/BentoML/pull/1015.
t
Thanks @Bo. This is fantastic!
👍 1
Just to clarify, do we just use this for the header
-H "Content-Encoding: gzip"
?
I usually have
-H "Content-Type: application/json"
for the header.
b
@T Oo You would have to update the header with additional
Content-Encoding: gzip
or
Content-Encoding: x-gzip
For reference: https://tools.ietf.org/html/rfc7230#section-4.2.3 https://github.com/bentoml/BentoML/blob/c7e64242eada3e96c528c389a8dfae3437b03c96/bentoml/adapters/utils.py#L117-L120
👍 1
t
Thanks. That is what I was looking for.