What I'm trying to do is replace all occurrences of the string "about:blank" with a different string in any HTTP_RESPONSE_DATA if { HTTP::header "Content-Type"] contains "application/x-javascript"}. My LTMs are running 9.1.2, and it appeared the only STREAM command available to me was STREAM::replace. I was hoping I could apply a blank stream profile to the VIP, then use the STREAM::replace command to accomplish the replacement. I misunderstood the explanation of the command.
Based on your explanation of the stream profile, plus the requirement of only applying the stream profile under certain conditions, it appears must either upgrade or to try this using HTTP::payload. I think we've tried HTTP::payload in the past with pretty horrible consequences, so I'm a hesitant about using it since I'm not yet confident in my iRules expertise. But since an upgrade is not possible in the time constraint I'm under, then I guess that's my only option. I'm now pouring over the forums to find a good example.