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=value....

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

Reply via email to