Forum Discussion
hooleylist
Mar 29, 2012Cirrostratus
Hi Zongfeng,
Up until 11.0, the values for HTTP::path, HTTP::uri and other commands are cached within the same iRule event priority even if you modify them. The values are still changed for the request though. So what you're seeing is expected even though the URI has been updated. You can verify this by logging the values in a later HTTP_REQUEST event using priority:
when HTTP_REQUEST priority 501 {
log local0. "Updated URI in 501: [HTTP::uri]"
}
Here is a list of at least some of the HTTP:: commands which are cached:
HTTP::password
HTTP::username
HTTP::host
HTTP::path
HTTP::query
HTTP::request_num
HTTP::status
HTTP::uri
HTTP::is_keepalive
HTTP::is_redirect
HTTP::request
Again this was fixed in 11.0 so the return values are updated when they're changed.
Aaron