I'm downloading once a day a large json output emitted wy a my webapi. My api server can output using gzip encoding, but it checks if to do this testing if HTTP_ACCEPT_ENCODING contains the word 'gzip'.
From webserver with the client script, I use file_get_content to read the json. But how to warn the api server that i'm able to accept gzip?