Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Change HTTP Profile Response to UnChunk

Erika_I_Garner
Nimbostratus
Nimbostratus

I need to change the response only when it matches the HTTP status 204, and I want to change the http profile response to unchunk.

 

I tried the following:

 

when HTTP_RESPONSE { if { [HTTP::status] == "204" }{ HTTP::payload unchunk HTTP::header remove "Transfer-Encoding" } }

 

Help!

 

1 REPLY 1

uzair
Nimbostratus
Nimbostratus

Use HTTP_RESPONSE_DATA event. Check below link https://devcentral.f5.com/wiki/iRules.HTTP__payload.ashx