append to URI
I'd like to add ?A10 to a specific URI. The intent may appear below but of course I am posting here as it clearly does not do what I want
When I get a request how do I change the request (uri) before sending to the server side? It is Sunday and I have been on an 11 hour conf call and my brain will not function - I hope the Internet is still awake and alert.
when HTTP_REQUEST {
if {([HTTP::uri] starts_with "/junk")} {
[HTTP::uri] [HTTP::uri] + "?A10"
}
}
When I get a request how do I change the request (uri) before sending to the server side? It is Sunday and I have been on an 11 hour conf call and my brain will not function - I hope the Internet is still awake and alert.
when HTTP_REQUEST {
if {([HTTP::uri] starts_with "/junk")} {
[HTTP::uri] [HTTP::uri] + "?A10"
}
}
0
Comments
when HTTP_REQUEST {
if {([HTTP::uri] starts_with “/junk”)} {
[HTTP::uri] [HTTP::uri]?A10
}
}
Thanks
Michael.