Forum Discussion
nik_65678
Nimbostratus
Aug 19, 2009[http::uri] in http_response
i'm wondering if there's any way to get the value of [http::uri] in the http_response event without setting a variable? here's what i have now:
when http_request {
set uri [http::uri] ...
hoolio
Cirrostratus
Aug 19, 2009As far as I'm aware, LTM doesn't save the HTTP::uri past the HTTP request events in the clientside context. The URI listed in the Location response header is completely independent of the requested URI. So I think you'll need to save the URI in HTTP_REQUEST in order to have it available in HTTP_RESPONSE. So as Denny said, this is necessary if LTM doesn't cache the value itself and you want to reference it in a server side event.
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
