Re: url parsing in URI / HTTP::Request

2004-03-10 Thread Gisle Aas
Ulrich Wisser [EMAIL PROTECTED] writes: today I got an error code 400 (bad request) from my url checker. When I tested the url in my browser it worked fine. The url is http://www.leomajken.se?source=digdev I realize that there is a / missing after the domain name. I don't know if

Re: robot/ua-get..........FAILED tests 1-3, 5, 7

2004-03-11 Thread Gisle Aas
ALexander N. Treyner [EMAIL PROTECTED] writes: Could somebody help me to figure out what's wrong? It means that your machine can't talk to itself, probably because the hostname of your machine does not resolve to itself. If you are on a Unix system, then ping `hostname` needs to work. --Gisle

Re: [rfc] HTTP::Multipart

2004-04-03 Thread Gisle Aas
should it's name be? (ie., Cparase?) What does 'parase' mean? Regards, Gisle

Re: [rfc] HTTP::Multipart

2004-04-05 Thread Gisle Aas
or replicated in both HTTP::Request and HTTP::Response. Regards, Gisle

Re: [rfc] HTTP::Multipart

2004-04-05 Thread Gisle Aas
parts_DFS that return all parts in a depth-first-search order. I don't see a need for it for HTTP::Message, and it can easily be constructed from the parts() method. Regards, Gisle

Re: Cookies Redirection

2004-04-05 Thread Gisle Aas
attribute in the Cookie still refers to .yahoo.com. Can you provide a trace of sequence of request/responses that are exchanged and the content of the cookie_jar as this happens. Regards, Gisle

Re: Error when running LWP

2004-04-06 Thread Gisle Aas
. --Gisle

Re: Bug submitting large HTTP requests

2004-04-06 Thread Gisle Aas
outself. Regards, Gisle

Re: [PATCH] LWP::RobotUA case-sensitive check for Disallow

2004-04-06 Thread Gisle Aas
1.23 2003/10/24 11:13:03 gisle Exp $ +# $Id: RobotUA.pm,v 1.24 2004/04/06 11:02:50 gisle Exp $ require LWP::UserAgent; @ISA = qw(LWP::UserAgent); -$VERSION = sprintf(%d.%02d, q$Revision: 1.23 $ =~ /(\d+)\.(\d+)/); +$VERSION = sprintf(%d.%02d, q$Revision: 1.24 $ =~ /(\d+)\.(\d+)/); require WWW

Re: [PATCH] WWW::RobotRules user-agent matching

2004-04-06 Thread Gisle Aas
the last line above with $name =~ s!/.*!!; # lose version which seems to cover the various cases correctly. Agree. Patch applied. Thanks! Regards, Gisle --- WWW/RobotRules.pm.orig2003-10-23 15:11:33.0 -0400 +++ WWW/RobotRules.pm 2004-04-03 18:06:01.0 -0500

Re: Suggest change to WWW::RobotRules

2004-04-06 Thread Gisle Aas
be a bit more liberal when parsing. I've now applied the following patch. Regads, Gisle Index: lib/LWP/RobotUA.pm === RCS file: /cvsroot/libwww-perl/lwp5/lib/LWP/RobotUA.pm,v retrieving revision 1.24 diff -u -p -r1.24 RobotUA.pm

Re: [PATCH] redirection in LWP::Simple

2004-04-06 Thread Gisle Aas
. In the mindset of 'Be liberal in what you receive, and conservative in what you send', is this worth adding to libwww-perl? It sure is. Now applied. Thanks! Regards, Gisle Thanks, Ward Vandewege. --- Simple.pm 2003-12-31 14:15:59.0 -0500 +++ Simple.pm 2003-12-31 14:16

Re: Bug submitting large HTTP requests

2004-04-06 Thread Gisle Aas
Jamie Lokier [EMAIL PROTECTED] writes: Gisle Aas wrote: The subroutine Net::HTTP::Methods::write_request calls print, but doesn't check the return value. It's a non-blocking socket, so it's quite normal for the print to do a short write if the string is very large -- larger than

libwww-perl-5.77

2004-04-06 Thread Gisle Aas
of [NO METHOD] and [NO URI]. We don't want values with spaces in them, because it makes it harder to parse. Enjoy! Regards, Gisle

Re: Latest LWP fails tests

2004-04-08 Thread Gisle Aas
Scott R. Godin [EMAIL PROTECTED] writes: It seems to require Data::Dump which I do not have installed. libwww-perl-5.78 has been uploaded. It fixes this problem. Regards, Gisle

Re: libwww-perl-5.77

2004-04-09 Thread Gisle Aas
Gisle Aas [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (François Pons) writes: Gisle Aas [EMAIL PROTECTED] writes: I've been going through the backlog in my LWP folder today and managed to apply some of the patches found there. I now have to return to my real work, but I still

Using Content-Loction as base

2004-04-09 Thread Gisle Aas
---BeginMessage--- Apologies if this is not an appropriate place to report issues with libwww - if which case if you could let me know a better address I'd be very grateful. I've noticed at least one case where $response-base does not match what would be

Re: multi part form posts

2004-04-10 Thread Gisle Aas
', content_type = 'form-data', content = [ foo = 1, file = [foo.txt], ]); More details available by reading the HTTP::Request::Common manpage. Regards, Gisle

libwww-perl-5.79

2004-04-13 Thread Gisle Aas
with a newline. This ensures better compatibility with 5.76 and older versions of libwww-perl. Use case insensitive lookup of hostname in $ua-credentials. Patch by Andrew Pimlott [EMAIL PROTECTED]. Enjoy! Regards, Gisle

Re: getting webpage from different server than the url points to?

2004-05-10 Thread Gisle Aas
::Protocol::http module that for instance pick up the IP address from a request header. Or you can try this: local @LWP::Protocol::http::EXTRA_SOCK_OPTS = (PeerAddr = 10.2.1.7); print $ua-get(http://www.example.com/foo;); Regards, Gisle

Re: HTML::TreeBuilder and lwp-request

2004-04-27 Thread Gisle Aas
properly. Regards, Gisle

Re: HTML-Parser

2004-05-03 Thread Gisle Aas
HTML-Parser. Regards, Gisle

Re: :mechanize issues/mechanize.pm dies!!

2004-06-02 Thread Gisle Aas
think happens here? Regards, Gisle Aas

Re: :mechanize issues/mechanize.pm dies!!

2004-06-03 Thread Gisle Aas
. The 'name' from the option tag overrides the 'name' from the select tag when it should not. We also get in trouble with (illegal) option attributes like 'disabled', 'multiple', 'type' etc. The following patch fixes these problems. It will be in the next libwww-perl. Regards, Gisle Index

Re: [PATCH] Make URI::sip honor the new_abs(), abs(), rel() contract

2004-06-03 Thread Gisle Aas
Ville Skyttä [EMAIL PROTECTED] writes: URI::sip(s) does not honor the URI API contract of returning the original URI if it cannot be made absolute in new_abs() or abs(), or relative in rel(). Fix along with a couple of test cases attached. Applied. Thanks! Regards, Gisle

Re: libwww-perl: Patch to support not sending Content-Length...

2004-06-03 Thread Gisle Aas
files $content = $fh; close($fh); - $h-header(Content-Length = length($content)); } unless ($ct) { require LWP::MediaTypes; Regards, Gisle

Re: [patch] HTTP::Message-is_multipart

2004-06-08 Thread Gisle Aas
if $res-have_many_parts; Regards, Gisle

Re: [patch] HTTP::Message-is_multipart

2004-06-08 Thread Gisle Aas
always add a method for that purpose. If I redid this now I think I would make 'parts' return the number and then add a 'part' method (without the 's') that always returns the first part regardless of context. Regards, Gisle

Re: HTTP::Message, setting content with a ref

2004-06-09 Thread Gisle Aas
ended up with. It is likely to be part of the next LWP release. Regards, Gisle Index: lib/HTTP/Message.pm === RCS file: /cvsroot/libwww-perl/lwp5/lib/HTTP/Message.pm,v retrieving revision 1.42 diff -u -p -r1.42 Message.pm --- lib/HTTP

Re: Patch to support --full-time in File::Listing

2004-06-16 Thread Gisle Aas
, this is how --full-time comes out here (Redhat 9). It does not appear to be the same format you try to parse. [EMAIL PROTECTED] lwp5]$ ls -l --full-time total 368 -rw-rw-r--1 gislegisle3800 2004-04-07 12:44:47.0 +0200 AUTHORS drwxrwxr-x3 gislegisle4096 2004-06

Re: lwp-request patch to display response body on error

2004-06-16 Thread Gisle Aas
, but libwww-perl-5.71 (2003-10-14) had this fix: lwp-request now prints unsuccessful responses in the same way as successsful ones. The status will still indicate failures. Based on a patch by Steve Hay [EMAIL PROTECTED]. Didn't that address this concern? Regards, Gisle Background

libwww-perl-5.800

2004-06-17 Thread Gisle Aas
:'. Enjoy! Regards, Gisle

Re: libwww-perl-5.800

2004-06-18 Thread Gisle Aas
problem at your site. Are the machine you're testing from properly connected to the Internet? Do you have to go through some proxy? Regards, Gisle

Re: libwww-perl-5.800

2004-06-18 Thread Gisle Aas
perl -Ilib t/live/jigsaw-md5.t --Gisle

Re: a suggestion for URI or URI::Heuristic

2004-06-28 Thread Gisle Aas
[EMAIL PROTECTED] writes: How about this for the next version of URI: URI-new(%68ttp://www.example.com/)-canonical eq http://www.example.com/; Why? This appears just wrong. RFC 2396 does not allow escapes in the scheme part. Is this used out in the wild? Regards, Gisle

Re: support for multiple outgoing IPs

2004-07-13 Thread Gisle Aas
::Protocol::http::EXTRA_SOCK_OPTS. What is your suggested change to support this? Regards, Gisle

Re: support for multiple outgoing IPs

2004-07-13 Thread Gisle Aas
Jeff 'japhy' Pinyan [EMAIL PROTECTED] writes: On Jul 13, Gisle Aas said: Jeff 'japhy' Pinyan [EMAIL PROTECTED] writes: I'm going to release these subclasses, but I'd like to know if the libwww suite can perhaps be rewritten in the future to allow for this type of thing

Re: Patch to Form.pm to recognize button type=submit

2004-07-19 Thread Gisle Aas
at this point. + } elsif ($tag eq textarea) { $attr-{textarea_value} = $attr-{value} if exists $attr-{value}; Regards, Gisle

Re: Problem uploading large files with PUT

2004-07-28 Thread Gisle Aas
be used to let HTTP::Request |objects pick up content data from some scalar variable without |having to copy it. Regards, Gisle

Re: LWP

2004-08-05 Thread Gisle Aas
. Regards, Gisle Aas, ActiveState

Re: Simulate HTTP transactions

2004-08-20 Thread Gisle Aas
that. --Gisle

Re: scriptscript bug in HTML::TokeParser?

2004-08-25 Thread Gisle Aas
a potentially problematic situation. How? If you strip all script text there should not be a problem. Regards, Gisle Demo of the problem is below. Thank you for looking! -Ashley use HTML::TokeParser; use Data::Dumper; $Data::Dumper::Terse = 1; my $text = join '', DATA; my $p = HTML

Re: is_success() returning tru even though server was down

2004-09-01 Thread Gisle Aas
only testing for the existence of the file and the network connection between the two boxen? The HEAD might be cheaper, but not all servers implement it for all resources. Regards, Gisle

Re: URI::file not RFC 1738 compliant?

2004-09-06 Thread Gisle Aas
:///foo works with it as expected. Do you have other examples? Would it be possible to have this fixed in URI? Sure. Especially if I'm told about more apps that can't inter operate with authority-less-file-URIs. I might want to make it an option. Regards, Gisle

Re: URI::file not RFC 1738 compliant?

2004-09-07 Thread Gisle Aas
Bjoern Hoehrmann [EMAIL PROTECTED] writes: Unhandled Exception: System.UriFormatException: Invalid URI: The format of the URI could not be determined. Ok. URI-1.32 has just been uploaded and it revise how we map filenames to file URIs. Some examples with the new module: $ perl

Re: Download manager - problem solved

2004-09-17 Thread Gisle Aas
, with $ua-cookie_jar({}), and LWP will manage the cookies for you. Regards, Gisle

Re: Breaking a keep alive connection

2004-10-01 Thread Gisle Aas
call $au-conn_cache-drop; Regards, Gisle

Re: Byte Order Mark mucks up headers

2004-10-07 Thread Gisle Aas
allows whitespace, but needs to be tought that BOM is harmless too. Look at the 'text' method. Do you want to try to provide a patch? Regards, Gisle

Re: mirror.al

2004-10-26 Thread Gisle Aas
recommend something newer. Regards, Gisle

Re: LWP installation failed make test: base/date

2004-11-05 Thread Gisle Aas
Craig Cummings [EMAIL PROTECTED] writes: I'm trying to install Bundle::LWP on my Debian Linux system. Interesting. What does these commands print on your system: perl -le 'print scalar gmtime(0)' perl -le 'print scalar gmtime(760233600)' perl -le 'print scalar gmtime(3915993600)'

Re: Promoting Mechanize

2004-11-08 Thread Gisle Aas
Andy Lester [EMAIL PROTECTED] writes: Gisle, can we put some kind of mention of WWW::Mechanize in LWP::UserAgent? Plenty of people know about LWP, but want to do the rest of the stuff that Mech does. See this as an example: http://www.perlmonks.org/?node_id=405988 The LWP::UserAgent

Re: Segfault using HTML::Parser and URI::URL

2004-11-09 Thread Gisle Aas
Thibaut Britz [EMAIL PROTECTED] writes: the following produces a segfault using the latest version of libwww. I see segfaults with ActivePerl 810 but not with our latests builds. What version of perl are you using? The segfault appears to be a bug in perl I would like to find out if the

Re: Segfault using HTML::Parser and URI::URL

2004-11-10 Thread Gisle Aas
The following patch should make sure that HTML::Parser does not produce badly encoded SVs. That avoid the problem demonstrated, but I still need to track down why perl itself segfaulted because of this. Regards, Gisle Index: util.c

Re: Segfault using HTML::Parser and URI::URL

2004-11-10 Thread Gisle Aas
Gisle Aas [EMAIL PROTECTED] writes: The following patch should make sure that HTML::Parser does not produce badly encoded SVs. That avoid the problem demonstrated, but I still need to track down why perl itself segfaulted because of this. Perl crashed because the regexp engine did deal

Re: HTML::Parser plaintext tag

2004-11-10 Thread Gisle Aas
/hypertext/WWW/MarkUp/Tags.html#7 It results in weird effects for me as I write a HTML sanitizer for WebMail. Howcome? Do you have a need to suppress this behaviour in HTML::Parser? Regards, Gisle

Re: HTML::Parser plaintext tag

2004-11-11 Thread Gisle Aas
Alex Kapranoff [EMAIL PROTECTED] writes: * Alex Kapranoff [EMAIL PROTECTED] [November 11 2004, 11:11]: It results in weird effects for me as I write a HTML sanitizer for WebMail. Howcome? Do you have a need to suppress this behaviour in HTML::Parser? Yes, I'd like to have an

Re: [PATCH] Caching/reusing WWW::RobotRules(::InCore)

2004-11-12 Thread Gisle Aas
. Will be in 5.801. Regards, Gisle Index: lib/WWW/RobotRules.pm === RCS file: /cvsroot/libwww-perl/lwp5/lib/WWW/RobotRules.pm,v retrieving revision 1.30 diff -a -u -r1.30 RobotRules.pm --- lib/WWW/RobotRules.pm 9 Apr 2004 15:09:14

Re: Patch for WWW::RobotsRules.pm

2004-11-12 Thread Gisle Aas
-r1.31 -r1.32 --- lib/WWW/RobotRules.pm 12 Nov 2004 16:05:09 - 1.31 +++ lib/WWW/RobotRules.pm 12 Nov 2004 16:14:25 - 1.32 @@ -1,8 +1,8 @@ package WWW::RobotRules; -# $Id: RobotRules.pm,v 1.31 2004/11/12 16:05:09 gisle Exp $ +# $Id: RobotRules.pm,v 1.32 2004/11/12 16:14:25

Re: WWW::RobotRules warning could be more helpful

2004-11-12 Thread Gisle Aas
[EMAIL PROTECTED] writes: If you spider several sites and one of them has a broken robots.txt file you can't tell which one since the warning doesn't tell you. This will be better in 5.801. I've applied a variation of Bill Moseley's suggested patch for the same problem. Around line 73 of

Re: / uri escaped in LWP::Protocol::file

2004-11-15 Thread Gisle Aas
applied. Thanks! Regards, Gisle --- /usr/lib/perl5/vendor_perl/5.8.4/LWP/Protocol/file.old2004-09-19 22:56:35.786858776 +0300 +++ /usr/lib/perl5/vendor_perl/5.8.4/LWP/Protocol/file.pm 2004-09-19 22:56:24.0 +0300 @@ -96,14 +96,13 @@ closedir(D); # Make

Re: HTML::HeadParser

2004-11-15 Thread Gisle Aas
revision 2.99 diff -u -p -u -r2.98 -r2.99 --- hparser.c 11 Nov 2004 10:12:51 - 2.98 +++ hparser.c 15 Nov 2004 22:19:49 - 2.99 @@ -1,4 +1,4 @@ -/* $Id: hparser.c,v 2.98 2004/11/11 10:12:51 gisle Exp $ +/* $Id: hparser.c,v 2.99 2004/11/15 22:19:49 gisle Exp $ * * Copyright

libwww-perl-5.801

2004-11-17 Thread Gisle Aas
by Ville Skyttä [EMAIL PROTECTED]. Enjoy! Regards, Gisle

HTML-Parser-3.39_90

2004-11-17 Thread Gisle Aas
-terminated title elements this might not be such a good idea, so this change might not stay. Please try it out to see if you find problems with it. Regards, Gisle

Re: URI doesn't accept a semi-colon as query parameter separator

2004-11-24 Thread Gisle Aas
Brian Cassidy [EMAIL PROTECTED] writes: I was testing an app at the command line which does some query and URL manipulation. At one point, I pass the URL as generated from CGI.pm, which happens to use a semi-colon (rather than an ampersand) as the query parameter separator. Once I tried to

Re: user agents

2004-12-01 Thread Gisle Aas
with it's own bugs and limitations. You can force always using the full LWP client implementaion by importing $ua from LWP::Simple. Regards, Gisle

HTML-Parser-3.41

2004-12-01 Thread Gisle Aas
HTML-Parser-3.41 is available from CPAN. The major news is that HTML::Parser should now do the right thing with Unicode strings and that the compile time option to enable Unicode entities is gone. There is a new 'utf8_mode' that allow saner parsing of raw undecoded UTF-8. The Unicode support is

libwww-perl-5.802

2004-12-01 Thread Gisle Aas
libwww-perl-5.802 is available from CPAN. The changes since 5.801 are: The HTTP::Message object now have a decoded_content() method. This will return the content after any Content-Encodings and charsets has been decoded. Compress::Zlib is now a prerequisite module.

decoded_content

2004-12-01 Thread Gisle Aas
Gisle Aas [EMAIL PROTECTED] writes: The HTTP::Message object now have a decoded_content() method. This will return the content after any Content-Encodings and charsets has been decoded. The current $mess-decoded_content implementation is quite naïve in it's mapping of charsets

Re: user agents

2004-12-02 Thread Gisle Aas
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

Re: HTML::Parser 3.40/3.41 and UTF8 on perl 5.8.0

2004-12-02 Thread Gisle Aas
Reed Russell - rreed [EMAIL PROTECTED] writes: The sv_catpvn_utf8_upgrade macro used in hparser.c in versions 3.40 and 3.41 of HTML::Parser doesn't seem to exist in Perl 5.8.0. Can the macro be replaced, so that the module is compatible with this version of Perl? Sure. Applied. I've

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 +0100

Re: HTTP::Response inconsistency

2004-12-03 Thread Gisle Aas
patches for all the fallbacks and workarounds - That would be very much appreciated. Regards, Gisle

Re: Bug in HTML::Form label support

2004-12-03 Thread Gisle Aas
Dan Kubb [EMAIL PROTECTED] writes: label input type=radio name=r1 value=1One /label Is label in common use? What browsers support it? Regards, Gisle

Re: HTML::Parser 3.42: some tests fail on MSWin32

2004-12-06 Thread Gisle Aas
Bjoern Hoehrmann [EMAIL PROTECTED] writes: HTML::Parser 3.41/3.42 fails on some tests on MSWin32, see This should be fixed in 3.43 that I just uploaded. The SvUTF8 flag was not propagated correctly when replacing unterminated entities. Regards, Gisle

Re: suggestion for $ua-env_proxy method

2004-12-06 Thread Gisle Aas
. Regards, Gisle

Re: libwww@perl.org

2004-12-06 Thread Gisle Aas
? The cpan:modules/02packages.details.txt.gz index points to URI-1.35 as it should. Regards, Gisle

Re: Can't use www::mechanize with an array form field

2004-12-06 Thread Gisle Aas
); This will turn on the 211 and 213 check box and all the other cat[] checkboxes off. Regards, Gisle

Re: libwww-perl-5.802

2004-12-06 Thread Gisle Aas
Moshe Kaminsky [EMAIL PROTECTED] writes: * Gisle Aas [EMAIL PROTECTED] [01/12/04 12:02]: libwww-perl-5.802 is available from CPAN. The changes since 5.801 are: The HTTP::Message object now have a decoded_content() method. This will return the content after any Content-Encodings

Re: calling decoded_content on gzipped content destroys raw content

2004-12-06 Thread Gisle Aas
a side effect on the message when given an option. Regards, Gisle Index: lib/HTTP/Message.pm === RCS file: /cvsroot/libwww-perl/lwp5/lib/HTTP/Message.pm,v retrieving revision 1.54 retrieving revision 1.55 diff -u -p -r1.54 -r1.55

Re: [patch] Allow a directory as lwp-download's 2nd argument

2004-12-11 Thread Gisle Aas
Radoslaw Zielinski [EMAIL PROTECTED] writes: The attached patch allows specifying a directory as lwp-download's second argument. Also makes 0 valid destination file name. Thanks. Applied. Regards, Gisle

Re: [PATCH] HTTP::Daemon defaults

2004-12-11 Thread Gisle Aas
of the libwww bundle? I don't have a problem with that if its author wants the same. Regards, Gisle --- libwww-perl-5.802/lib/HTTP/Daemon.pm 2004-04-09 13:21:43.0 -0700 +++ libwww-perl-5.802-kees/lib/HTTP/Daemon.pm 2004-12-10 10:13:30.0 -0800 @@ -37,10 +37,22

Re: HTTP::Response::base fails if the response has no request

2004-12-11 Thread Gisle Aas
into this one before I applied it. Thanks! Regards, Gisle Index: lib/HTTP/Response.pm === RCS file: /cvsroot/libwww-perl/lwp5/lib/HTTP/Response.pm,v retrieving revision 1.50 retrieving revision 1.51 diff -u -p -r1.50 -r1.51 --- lib/HTTP

Re: HTTP::Response inconsistency

2004-12-11 Thread Gisle Aas
Harald Joerg [EMAIL PROTECTED] writes: 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

Re: How can I PUT a large file?

2004-12-13 Thread Gisle Aas
is $content_ref in this case? Regards, Gisle

Re: How can I PUT a large file?

2004-12-13 Thread Gisle Aas
Gisle Aas [EMAIL PROTECTED] writes: No this is supposed to work. I've now verified that using request code content like this, does indeed work for me when posting to my own server. Unless you can debug this problem directly with your app, please try to create a complete (short) example program

Re: Bug in HTML::Form label support

2004-12-11 Thread Gisle Aas
Dan Kubb [EMAIL PROTECTED] writes: Hi Gisle, Are there other form elements than input that might take labels? Yes, all the normal form elements can take labels. I'm just not sure how you would use them without adding to or changing the interface in HTML::Form. For input tags

Re: How can I PUT a large file?

2004-12-14 Thread Gisle Aas
, Gisle

Re: Libhtml parser 3.43 ??

2004-12-28 Thread Gisle Aas
. This made it assume large parts of the document to be the script element. This buggy behaviour was introduced in v3.40 (v3.39_91). The following patch fixes this problem and will be present in v3.44 when ready. I expect that to happen soonish. Regards, Gisle Index: hparser.c

Re: Downloading a page compressed

2004-12-30 Thread Gisle Aas
-content. The decoded_content method was introduced in LWP-5.802. Regards, Gisle

Re: Data::Dump is missing ? t/local/httpsub.t fails

2004-12-30 Thread Gisle Aas
, then the Data::Dump reference should clearly go. Regards, Gisle

Re: Statistics in mech?

2005-01-14 Thread Gisle Aas
= $self-SUPER::syswrite(@_); $bytes_out += $n if defined($n) $n 0; return $n; } __END__ Regards, Gisle

Re: Avoiding Alarm Clocks While Spidering

2005-01-18 Thread Gisle Aas
::RobotUA that I can set so it would not be put to sleep. There is the 'use_sleep' attribute that you might set to a FALSE value. Regards, Gisle

Re: Internal Server Error when GETing with WWW::Mechanize?

2005-01-18 Thread Gisle Aas
2005 12:37:25 GMT Server: Netscape-Enterprise/6.0 Set-Cookie: FGNCLIID=42b0olsqf5khpzen020dycwtbh27;expires=Thu, 18 Jan 2007 12:37:26 GMT;path=/ Connection: Close --Gisle

Re: Internal Server Error when GETing with WWW::Mechanize?

2005-01-18 Thread Gisle Aas
Gisle Aas [EMAIL PROTECTED] writes: James Turnbull [EMAIL PROTECTED] writes: The error I get is... Error GETing http://www.parcelforce.com:80/portal/pw/track: Internal Server Error at track.pl line 5 The server is confused by something in the request that LWP sends. This is a buggy

Re: [PMX:VIRUS] HTML::Parser and entities

2005-01-24 Thread Gisle Aas
to selectively remove some tags but leave others and entities intact. The hstrip example does exactly this. http://search.cpan.org/src/GAAS/HTML-Parser-3.45/eg/hstrip Regards, Gisle

Re: URI module problems

2005-04-30 Thread Gisle Aas
does not do this. Regards, Gisle

Re: statu_line

2005-05-16 Thread Gisle Aas
your script has quotes around the $response-status_line expression. The program above does not produce the output you claim. Regards, Gisle

Re: HTML::Parser: how can I reset report_tags to report all tags?

2005-06-14 Thread Gisle Aas
Norbert Kiesel [EMAIL PROTECTED] writes: I tried to use -ignore_tags(()) and -ignore_tags(qw(none)), but it seems that after calling -report_tags() once it alsways uses a positive tag filter. Calling -report_tags() without any arguments should reset the filter. Regards, Gisle

Re: parsing bug in HTTP::Message::parse()

2005-06-16 Thread Gisle Aas
Brian Hirt [EMAIL PROTECTED] writes: Any news on this? It's a pretty major bug. I don't see anything wrong when running your test program. What version of LWP are you using? Regards, Gisle

Re: printing the redirections responses

2005-07-21 Thread Gisle Aas
-simple_request() instead of $ua-request() to dispatch the request. --Gisle

<    1   2   3   4   5   6   7   >