Forum Discussion
hooleylist
Cirrostratus
Jun 27, 2012Hi Bruce,
HTTP_REQUEST_SEND is a serverside context event. You can use the clientside command to run commands in the clientside context for a serverside event.
But in this case, you could use priority to log the updated [HTTP::request] value:
when HTTP_REQUEST {
log local0. "Pre: [HTTP::request]"
}
when HTTP_REQUEST priority 501 {
log local0. "Post: [HTTP::request]"
}
Not needed to log the updated value, but you can use clientside {} to run the command in HTTP_REQUEST_SEND
when HTTP_REQUEST_SEND {
clientside {
log local0. [HTTP::request]
}
}
Also note that in 11.0+ HTTP:: get commands show updated values within the same event, if they've been updated.
Aaron