Forum Discussion

Avshalom_114801's avatar
Avshalom_114801
Icon for Nimbostratus rankNimbostratus
Feb 20, 2013

uncompress gzip REQUEST with JSON

I have a client app that send JSON requests to the server pool.

 

The requests are compressed with GZIP and I'm sending a Content-Encoding: gzip header.

 

F5 doesn't seem to uncompress the responses - Policy Builder cannot recognize my JSON data and I get a lot of HTTP compliance errors due to ASM looking at the compressed body instread of uncompressing it.

 

I couldn't find anything about uncompressing client requests (just an old, unanswered post from 2009). What am I missing? How can I configure ASM (or LTM) to uncompress the data before the policy is enforced?

 

24 Replies