nooberfsh / prusto

A presto/trino client library written in rust.
MIT License
37 stars 23 forks source link

How do you deal with gzip? #24

Open elferherrera opened 1 year ago

elferherrera commented 1 year ago

I found your crate and I couldn't figure out how you are decompressing the gzip body from the response. Is that done automatically by reqwest?

nooberfsh commented 1 year ago

I don't handle the decompressing. Compression is part of the HTTP, I think it has being handled by reqwest.

elferherrera commented 1 year ago

I see. That makes sense. I was trying to write a client with hyper and there is no option to decompress automatically