response: clean up compression code

Change-Id: Id5f453783728495e5e5494213bf4c1765d03310e