Re: [users@httpd] Apache FilterProvider Deflate expression

2018-05-25 Thread Chaitanya Govande
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

Re: [users@httpd] Apache FilterProvider Deflate expression

2018-05-02 Thread Chaitanya Govande
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,

Re: [users@httpd] Apache FilterProvider Deflate expression

2018-05-02 Thread Nick Kew
> On 2 May 2018, at 21:24, Chaitanya Govande 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.

Re: [users@httpd] Apache FilterProvider Deflate expression

2018-05-02 Thread Chaitanya Govande
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? Any other way? I am trying to inflate, substitute and again deflate if the original content is gziped but if the original content is not gziped, then

Re: [users@httpd] Apache FilterProvider Deflate expression

2018-05-02 Thread Nick Kew
On Wed, 2 May 2018 11:29:36 -0500 Chaitanya Govande wrote: > The deflate does not seem to work as when I review the chrome dev > tools, I don't see the 'Content-Encoding' header. If I remove the > second condition (%{resp:Content-Encoding} = 'gzip'), it seems to work >

[users@httpd] Apache FilterProvider Deflate expression

2018-05-02 Thread Chaitanya Govande
Hello all, I am trying to inflate, substitute, and then deflate the content returned to the client based on the response header. The inflate, substitute are working as i was able to test these out in isolation. Here is the code: FilterDeclare FilterInflate CONTENT_SET FilterProvider