Forum Discussion
Frank_J_104756
Oct 31, 2007Historic F5 Account
HTTP::payload replace
I have 2 needs...1 to replace/hide the server in the http redirects that are being sent by the node. 2) to replace/hide the server in the actual content.
when HTTP_RESPONSE {
if...
hoolio
Cirrostratus
Oct 31, 2007It looks like you removed the HTTP::collect command from the HTTP_RESPONSE event. This is what dictates that LTM should buffer the HTTP data in the response. The HTTP_RESPONSE_DATA event is triggered when the amount of data specified in the HTTP::collect command has been collected.
If there isn't a Content-Length header (like when the server is sending chunked responses) to use in the collect command, you could specify something smaller than one million bytes. Can you add the collect command back in and try with 100?
Does anyone else have ideas on how best to collect response data when there isn't a content length header? If you specify a smaller number of bytes than what is sent, does the HTTP::payload command only return what you've collect? If so, don't you miss the change to perform the replacement in any subsequent response data that wasn't collected?
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
