Forum Discussion
Puli
Nimbostratus
Sep 13, 2010cost of removing a string on every request
Hi All,
have a requirement where i need to scan and remove a string from the response.
When HTTP_RESPONSE {
HTTP::header replace Location [sring map -nocase {"/global" ""} [HT...
Puli
Nimbostratus
Sep 14, 2010ok thanks.
Am trying to print the HTTP header location, but its comming in as empty.
In the HTTP_RESPONSE
when i add a check like a below like
if { [HTTP::header Location] start_width "/global"} {
log local0. "Location [HTTP::header Location]"
}
any reason you can think the location is not being sent back in the response? or maybe am not capturing the location properly ?
Appreciate any insight.
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
