Sinistrad_29710
Feb 23, 2017Nimbostratus
iRule STREAM
Hi all,
I'm testing the iRule below but it seems to be false, because i get an Error 411 :
when HTTP_REQUEST { if { [HTTP::host] eq "alfons-pp.domain.com" } { STREAM::disable HTTP::header remove "Accept-Encoding" } }
when HTTP_RESPONSE { if { ([HTTP::header value Content-Type] contains "text") and ([HTTP::header values Location] contains "alfons-pp.domain.com") } { STREAM::expression {@@} STREAM::enable } }
Could you please help me making this iRule works ?