libwww@perl.org

2004-12-03 Thread Tony
I've been trying to install the LWP bundle for several days. I saw that URI-1.34.tar.gz was unavailable. I had to go to http://cpan.n0i.net/modules/by-module/URI/ to download URI-1.35.tar.gz. Why does cpan go after the old version?

Re: HTTP::Response inconsistency

2004-12-03 Thread Harald Joerg
Gisle Aas writes: Harald Joerg <[EMAIL PROTECTED]> writes: As a fallback, HTTP::Response::parse could set the protocol to undef if it turns out to be a three-digit number, assigning this value to the code (after assigning to the message what was parsed as the code). This is my preferred fix. Just

Re: Bug in HTML::Form support

2004-12-03 Thread Dan Kubb
Hi Gisle, > Is in common use? What browsers support it? The tag is fairly widely supported by the major browsers, especially in Mozilla and IE 4+ I believe. It was introduced in HTML 4, and continues on into XHTML 1 and 2. I wouldn't say it's in common use outside of developers, but it is he

Re: Bug in HTML::Form support

2004-12-03 Thread Gisle Aas
Dan Kubb <[EMAIL PROTECTED]> writes: > Anyway, the patch is attached. I'd appreciate comments, [...] > diff -ru old/lib/HTML/Form.pm new/lib/HTML/Form.pm > --- old/lib/HTML/Form.pm Tue Nov 30 03:25:00 2004 > +++ new/lib/HTML/Form.pm Fri Dec 3 00:44:02 2004 > @@ -96,7 +96,7 @@ >

Re: Bug in HTML::Form support

2004-12-03 Thread Gisle Aas
Dan Kubb <[EMAIL PROTECTED]> writes: > > One > Is in common use? What browsers support it? Regards, Gisle

Bug in HTML::Form support

2004-12-03 Thread Dan Kubb
Hi, This is sort of a bug report, as well as a patch submission. Today I was writing a test case using Test::WWW::Mechanize, and accessing an HTML::Form object to do some in-depth testing of an application. I noticed that HTML::Form only sometimes filled in the Input object's value_name field, w

Re: HTTP::Response inconsistency

2004-12-03 Thread Gisle Aas
Harald Joerg <[EMAIL PROTECTED]> writes: > As a fallback, HTTP::Response::parse could set the protocol to undef > if it turns out to be a three-digit number, assigning this value to > the code (after assigning to the message what was parsed as the code). This is my preferred fix. Just make HTTP:

Re: user agents

2004-12-03 Thread Gisle Aas
Mattias Holmlund <[EMAIL PROTECTED]> writes: > Gisle Aas wrote: > > >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 w

Re: HTTP::Response inconsistency

2004-12-03 Thread Gisle Aas
Harald Joerg <[EMAIL PROTECTED]> writes: > HTTP::Response::clone doesn't clone the protocol either. > This, however, can be fixed easily: Thanks. Applied this patch to HTTP::Message so that also Requests clone their protocol attribute. > --- Response.pm.1.502004-12-02 21:36:42.43750 +010