in reply to URL redirection and final URL
$response->request()->uri()
Quoting HTTP::Response's documentation of ->request,
This is used to get/set the request attribute. The request attribute is a reference to the the request that caused this response. It does not have to be the same request passed to the $ua->request() method, because there might have been redirects and authorization retries in between.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: URL redirection and final URL
by haidut (Novice) on Sep 10, 2008 at 02:14 UTC |