perl.libwww...CPAN install fails on https test cases by David Cortesi- July 6, 2008 I am assisting someone at long distance who is attempting to do a cpaninstall Bundle::LWP.Her make fails on just one test line, quotelivehttps................FAILED tests 1-2Failed 22 tests, 0.00% okayIs there serious or trivial Can I advise her to go ahead and force theinstall, or what should she look at to get the test to runThanks for your advice,Dave Cortesihttp://www.nntp.perl.org/group/perl.libwww/2008/07/msg7200.html Re: Accept-Encoding defaults by Bill Moseley- July 6, 2008 On Sun, Jul 06, 2008 at 02:36:10PM +0200, Gisle Aas wrote:> > $req->set_default_accept_encoding;> > I don&39;t like defaults to be set at that level given that we already> have a $ua->default_header() method, so I think it should be something> like:> > $ua->default_header("Accept-Encoding", join(",",> HTTP::Message::decodable()));I saw this yesterday, too, about in the absence of an Accept-Encodingserver "MAY" send any...http://www.nntp.perl.org/group/perl.libwww/2008/07/msg7199.html Re: Accept-Encoding defaults by Gisle Aas- July 6, 2008 On Sat, Jul 5, 2008 at 6:39 PM, Bill Moseley <moseleyhank.org> wrote:> HTTP::Message has a decoded_content() method that will attempt> to uncompress based on the Content-Encoding header in the response.>> It&39;s wrapped in an eval which will trap exceptions when trying to> require the modules used to uncompress the content.>> It would make sense that I would set Accept-Encoding based on if I> have those modules installed.RIght.> Since the list of modules...http://www.nntp.perl.org/group/perl.libwww/2008/07/msg7198.html Accept-Encoding defaults by Bill Moseley- July 5, 2008 HTTP::Message has a decoded_content() method that will attemptto uncompress based on the Content-Encoding header in the response.It&39;s wrapped in an eval which will trap exceptions when trying torequire the modules used to uncompress the content.It would make sense that I would set Accept-Encoding based on if Ihave those modules installed.Since the list of modules (Compress::Zlib and Compress::Bzip2) isinternal to HTTP::Message, would it make sense to provide a methodthat could set the...http://www.nntp.perl.org/group/perl.libwww/2008/07/msg7197.html Re: Form parsing issue by Gisle Aas- July 3, 2008 On Wed, Jul 2, 2008 at 5:44 PM, Duzenbury, Rich <RDuzbiltd.com> wrote:> Hello all,>> I have mechanized a site using LWP and Mechanize that has been working> for about a year, but now no longer does. The site owner has made some> recent changes, but I think mechanize, or more precisely HTML::form> might be having trouble parsing the page and I&39;d like to find out why.>> In order to make the form work, I set the __EVENTTARGET hidden field to> a certain value,...http://www.nntp.perl.org/group/perl.libwww/2008/07/msg7196.html RE: Form parsing issue SOLVED by Duzenbury, Rich- July 2, 2008 > > > If you can help out that would be great. One thought I had, can I> force> a new hidden field into the form> > Thank you.> > Regards,> Rich> Chris Hiner was good enough to point me to a solution over at perlmonks:http:www.perlmonks.orgindex.plnode_id=600562I ended up actually using: $form->push_input(&39;hidden&39;, id => &39;__EVENTTARGET&39;, name =>&39;__EVENTTARGET&39;, value => &39;ChangeViewControl1$ImpersonateCommand&39;);Regards,Richhttp://www.nntp.perl.org/group/perl.libwww/2008/07/msg7195.html Form parsing issue by Duzenbury, Rich- July 2, 2008 Hello all,I have mechanized a site using LWP and Mechanize that has been workingfor about a year, but now no longer does. The site owner has made somerecent changes, but I think mechanize, or more precisely HTML::formmight be having trouble parsing the page and I&39;d like to find out why.In order to make the form work, I set the __EVENTTARGET hidden field toa certain value, but as of this week, the script dies...http://www.nntp.perl.org/group/perl.libwww/2008/07/msg7194.html |