Difference between $mech->uri and $mech->base
am 06.06.2005 17:01:53 von peter.stevens--------------020109010306020608080405
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi folks,
Can someone explain the difference between $mech->uri and $mech->base?
I had assumed that after executing a $mech->get:
* $mech->uri was the full URI, including any GET arguments, after
all redirections were completed
* $mech->base would simply be the URI with the arguments and
possibly the filename part trimmed.
This is however not the case.
After getting www.foo.com/Billing, I was expecting URI to be
https://xyz.foo.com/myFoo/pgm?lots=value;of=value;parms=valu e....
Well, it wasn't. It was www.foo.com/Billing.
I just upgraded from 1.04 to 1.12. Was there a change here?
Thanks
Peter
--------------020109010306020608080405--