We have a custom REST API that doesn't seem to support gzip compression.
curl https://mobileteamdeploycommunity.force.com/taroworks/services/data/v33.0/ -H 'Authorization: Bearer xxxxxxxxxxxxxxxxxx' -H 'Accept-Encoding: gzip' -v
Which uses the Salesforce API seems to work fine and compresses that data. But
curl https://mobileteamdeploycommunity.force.com/taroworks/services/apexrest/performance/ -H 'Authorization: Bearer xxxxxxxxxx' -H 'Accept-Encoding: gzip' -v &> performance_with_gzip
Which uses our custom REST API doesn't compress and we get the JSON result uncompressed.
Is there a way to make compression work in the second case?