Forum Discussion
hooleylist
Jun 22, 2010Cirrostratus
Also, the stream profile operates against uncompressed, unchunked response payloads. If the string you're trying to replace is in the response headers, you'd want to use HTTP::header to rewrite the header. If the string is in a compressed response payload, you'd want to either disable compression on the server, or remove the Accept-Encoding header from requests sent to the pool. For chunked responses, you can create a custom HTTP profile with response chunking set to rechunk. This is necessary for handling chunked responses as well as string replacements where the original and replacement strings are different lengths.
Aaron