use content encoding only for get requests (bnc#872168)