Zed Lopez <[EMAIL PROTECTED]> writes:

> On 01 Dec 2004 01:35:13 -0800, Gisle Aas <[EMAIL PROTECTED]> wrote:
> > Zed Lopez <[EMAIL PROTECTED]> writes:
> > > I'd like to suggest these differences be documented.
> > 
> > I agree this is wrong.  Do you want to suggest a doc patch?
> 
> I'm working on the doc patch... would it be considered desirable to
> document that a user can get get() to drive HTTP::Request by setting
> $LWP::Simple::FULL_LWP to a true value? Or that one can use get_old()
> to drive HTTP::Request?
> 
> Obviously, no one wants to add a lot of complexity to a ::Simple
> module, but right now the behavior includes: the user agent and HTTP
> version are subject to change if an HTTP proxy is in use or if the
> requested page does a redirect. And there's no way to code around that
> within this module's public interface.

It is documented (barely) that the module export the variable '$ua'.
A side effect of importing this variable is that this forces the full
LWP::UserAgent implementation to be used, otherwise settings on the
$ua object would have no effect.  I want to declare this as the
official interface to force this and not document either get_old or
$FULL_LWP.

Regards,
Gisle

Reply via email to