When doing a frontend redirect where the path and parms (aka URI) remain the same, is there a best practice to use redirect prefix vs redirect location?
Example - Redirect prefix vs redirect location both give same results:
http-request redirect code 302 prefix https://my.url.com if { path_beg /my_path } #redirect prefix does not alter the path or parms (aka URI)
http-request redirect code 302 location https://my.url.com%[capture.req.uri] if { path_beg /my_path } #passes the un-altered path and parms (aka URI) w/redirect location