I found the answer. Based on this 2 Unirest issues:
Unirest (precisely Apache Http Client) uncompresses files under the hood and then replaces Content-Encoding: gzip
.
I also tested response length on the server side with Unirest and non-Unirest clients, with and without compression and the sizes are the same.