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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx