add URI to request

rdellosa1rdellosa1 Member
How do I add a URI suffex to an HTTPS request using aFlex?

https://domain.com (add /page/page1.htm)

https://domain.com/page.page1.htm
Tagged:

Comments

  • edited June 2014
    when HTTP_REQUEST {
    # transparently insert "/page.page1.htm" if not already present
    if {not ([HTTP::uri] starts_with "/page.page1.htm")} {
    HTTP::uri /page.page1.htm[HTTP::uri]
    }
    }
Sign In or Register to comment.