Forum Discussion

SS11's avatar
SS11
Icon for Nimbostratus rankNimbostratus
May 16, 2017

Irule for disable HTTP compression for 401 response

Hi

 

Looking for an assistance to create a Irule to do the following;

 

If you access :-

 

and you get 401 response then disable the HTTP compression.

 

3 Replies

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    What is the problem you are trying to solve here?

     

  • SS11's avatar
    SS11
    Icon for Nimbostratus rankNimbostratus

    To eliminate the intermittent pop-up authentication while accessing the url and its due to compression issues of HTTP 401 responses with the IE browser

     

  • Maybe something like this:

    when HTTP_RESPONSE {
        if { [HTTP::status] == 401 } {
            COMPRESS::disable
        }
    }