Is there a flag I can use so that the Content-Encoding header is not removed or set an environment variable if inflate was run or if Content-Encoding header was removed? Looked around but did not find much to accomplish the above. Thank you, Chaitanya On Wed, May 2, 2018 at 5:33 PM, Chaitanya Govande <chintu92@xxxxxxxxx> wrote: > The content comes from some app server (could be WebSphere or > WebLogic). From what I read, the SetEnvIf doesn't have access to > response headers as it is run before? > > Sorry, but what is the one-line change to mod_deflate you are referring to? > > Thank you, > Chaitanya > > On Wed, May 2, 2018 at 4:26 PM, Nick Kew <niq@xxxxxxxxxx> wrote: >> >>> On 2 May 2018, at 21:24, Chaitanya Govande <chintu92@xxxxxxxxx> wrote: >>> >>> Is there a way to do this then? Can I store a env variable if the >>> Content-Encoding is gzip and use this variable later in execution for >>> Deflate? >> >> Depends where the contents come from. See for example SetEnvIf. >> >> Alternatives: get the content generator to add a custom header, or >> a one-line change to mod_deflate to set a flag. >> >> — >> Nick Kew >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >> > > > > -- > Chaitanya Govande > 847-387-0546 -- Chaitanya Govande 847-387-0546 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx