Forum Discussion
iRule using TCP::collect and TCP::payload to fix blanks (spaces) in HTTP request
- Dec 11, 2014
it seems \r\n\r\n is removed when using concat.
can you try this? it looks okay here.
TCP::payload replace 0 0 "[concat $mynewreq $mybal]\r\n\r\n"
have you tried it without \r\n\r\n?
Yes, it didn't work w/out the tacked on cd/lf, good thought though.
what was the problem if using HTTP_REQUEST?
That is the key! If the request gets up to the ASM or even a VIP w/ a http profile, we already have a protocol violation and I couldn't find a way to fit it. The HTTP:: attributes could not be modified so far as I can tell. Trying to find other examples on devcentral led me to this approach.
Thanks Nitass!
Cheers, Mike
Recent Discussions
Related Content
* 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