To write the pill in, the proxy asks the app for HTML pages with accept-encoding: identity (#2916), so those pages leave uncompressed even when the app would gzip them. Compress the rewritten body in the proxy for clients that accept gzip, and keep the pill test that proves it.
To write the pill in, the proxy asks the app for HTML pages with accept-encoding: identity (#2916), so those pages leave uncompressed even when the app would gzip them. Compress the rewritten body in the proxy for clients that accept gzip, and keep the pill test that proves it.