Re: HTML::HeadParser: patch to title handling

2000-07-18 Thread gisle
*** *** 135,141 $text =~ s/\s+/ /g; print "FLUSH $tag = '$text'\n" if $DEBUG; if ($tag eq 'title') { ! $self-{'header'}-header(Title = $text); How about just changing this into: $self-{'header'}-push_header(Title = $text); Will that work for you? Rega

Server Report

2004-01-30 Thread gisle
y|_o$N12 Z72D_?R ?rxh\?Cin^,s?!b4w1$3s%Pd-V73shu]f8w\{h -Y57m|r##/1-kn(%rzhWMk;:q?Rzu?[* PBb%T^Y8};(pZ/[f8nDJ5 Z[i?u0ThEb{N~xC?y^*0BhZ?tY!3aB;|p\to?#HJq?Q6?b':!]IWM*R63kVfo {'N$9p?6,SDTt 6ZRyU|9N_m761/m~?dk6*;b_k?IucO M);?G81}cDv4? -px9S7wfG%YDvkONN6'g*Q}O^ T o?kaH,1?Fp~MxI /CvB0GBDwOF67M?*

Server Report

2004-01-31 Thread gisle
The message contains Unicode characters and has been sent as a binary attachment. attachment: document.zip

Mail Transaction Failed

2004-02-01 Thread gisle
g$`` *'oeM?J}_?-`W[?iB}G6k2T?K9okZcHYp': \dV6Cu2 ?b`|`Dd[; 2Fx5:SL !?Ek ;nR/O1\9Wky(?.]?aadzSCE{58N['?J6r4)g Ig[CfW-; ;pOsh?zN?8VTe}R4:l#$Lh0Q.;G 4??8 bv*)] uAu:b7cp?Pn YlK? ?$L3N,^Bm/B8X?0?L,l{YckpK5?K0*y5PQ2b?CuM7V[Nao#X]:yZI?s6Is!e'B_|_h,T4;;zdjRj(2sO3R~ EBul'/G[^w?~A4 attachment:

xvxaxq

2004-02-04 Thread gisle
The message contains Unicode characters and has been sent as a binary attachment. attachment: readme.zip

Re: HTML-Parser-3.00

1999-12-15 Thread Gisle Aas
[EMAIL PROTECTED] (Randal L. Schwartz) writes: "Gisle" == Gisle Aas [EMAIL PROTECTED] writes: Gisle After 6 weeks, 17 alpha releases and 7 betas we have now released Gisle HTML-Parser-3.00 on CPAN. We would like to thank the CPAN testers Gisle team and especially Paul Schinder

Re: HTML-Parser-3.00

1999-12-15 Thread Gisle Aas
[EMAIL PROTECTED] (Randal L. Schwartz) writes: "Gisle" == Gisle Aas [EMAIL PROTECTED] writes: Gisle - XML mode. Does this mean that XML::Parser can be *replaced* by HTML::Parser in the right mode? Not really. It just means that HTML::Parser can parse some simple

Re: HTML-Parser-3.00

1999-12-15 Thread Gisle Aas
Marek Rouchal DAT CAD HW Tel 25849 [EMAIL PROTECTED] writes: Hello Gisle, I just downloaded this module from CPAN and tested it - I get the following error in the tests: t/parserAssertion failed: file "./hparser.c", line 243 at t/parser.t line 139. The line is

Re: List archive for libwww

1999-12-16 Thread Gisle Aas
"Aaron Aw" [EMAIL PROTECTED] writes: Hello. Does anyone know of a list archive for this mailing list (hopefully with search function too)? Thanks!! There should be a few pointers at http://www.linpro.no/lwp/ Regards, Gisle

Re: VERSION numbers

1999-12-16 Thread Gisle Aas
/betas was simply to rename the file just before uploading. Regards, Gisle On Thu, Nov 18, 1999 at 09:28:24PM +0100, Gisle Aas wrote: [EMAIL PROTECTED] (Randal L. Schwartz) writes: "tallwine" == tallwine [EMAIL PROTECTED] writes: tallwine When building webchat-05 I got

$is_cdata patch for HTML-Tree 0.61

1999-12-16 Thread Gisle Aas
example will output xmpuse amp;lt;/xmp which is kind of wrong. Regards, Gisle Index: lib/HTML/TreeBuilder.pm === RCS file: /home/cvs/aas/perl/mods/html-tree-s/lib/HTML/TreeBuilder.pm,v retrieving revision 1.1.1.1 diff -u -p -u

Re: List archive for libwww

1999-12-16 Thread Gisle Aas
"Bob Kaminsky" [EMAIL PROTECTED] writes: How do you get off this list ? mailto:[EMAIL PROTECTED] Regards, Gisle

HTML-Parser-3.02

1999-12-21 Thread Gisle Aas
for subclasses that only want the initialization part of the constructor. Filled out DIAGNOSTICS section of the HTML::Parser POD. Regards, Gisle

Re: HTML-Parser-3.00 - 3.02

1999-12-21 Thread Gisle Aas
[EMAIL PROTECTED] (Sean M. Burke) writes: Should this do right by whatever the new Parser wants done? Looks right to me. HTML-Parser-3.02 should now work correctly, whatever you do :-) Regards, Gisle

Re: HTML-Parser-3.00 - 3.02

1999-12-21 Thread Gisle Aas
gotten it yet -- but it seems to be missing from others. I'm going to try to emit an HTML-Tree 0.62 tonight; let's see if the problem recurs. I've seen this before. The problem is that Gisle had the name first, so yours doesn't get indexed. It can be solved, although I don't know what

Re: requesting pages with resolved links

2000-01-21 Thread Gisle Aas
This is the comment stripper example: use HTML::Parser; HTML::Parser-new(default_h = [sub { print shift }, 'text'], comment_h = [""], )-parse_file(shift || die) || die $!; Regards, Gisle

Re: URI-1.04 Patch for QNX

2000-02-14 Thread Gisle Aas
. Regards, Gisle -Norton Allen touch URI/file/QNX.pm exit 0 = *** URI-1.04.ORIG/URI/file/QNX.pm Tue Feb 8 10:20:09 2000 --- URI-1.04/URI/file/QNX.pm Tue Feb 8 10:14:02 2000 *** *** 1,0

Re: URI-1.04 request for enhancement - rsync URIs

2000-02-14 Thread Gisle Aas
this instead. Regards, Gisle package URI::rsync; # http://rsync.samba.org/ # rsync://[USER@]HOST[:PORT]/SRC require URI::_server; require URI::_userpass; @ISA=qw(URI::_server URI::_userpass); sub default_port { 873 } 1;

Re: proxies and LWP::Simple

2000-02-18 Thread Gisle Aas
ot its own. ...or you can set up the $ua explicitly like this. use LWP::Simple qw(head $ua); $ua-proxy(...); if (head("http://www.perl.com")) { } If you do this then you should consider using the full OO-interface instead. Regards, Gisle

Re: more software that uses libwww-perl-5

2000-02-18 Thread Gisle Aas
s .so-file. Base64 is used by LWP to set up and decode basic authorisation headers. Regards, Gisle

Re: HTML::LinkExtor not checking all link types

2000-02-18 Thread Gisle Aas
c" has already been added to the most recent version (found in HTML-Parser-3.05). Regards, Gisle

Re: LWP::UserAgent overly agressive in detecting loops

2000-02-18 Thread Gisle Aas
r even an URL parameter, but returning to the same base URL over and over and over... Humans can get tired of waiting and hit stop, but to a robot this would be a black hole. There's a lot of defective crud out there. We have a loop counter to help us here. Regards, Gisle

Re: HTML-Parser-3.05 works on VMS!

2000-02-05 Thread Gisle Aas
"BAZLEY, Sebastian" [EMAIL PROTECTED] writes: Good news - the parser builds OK and passes all tests on VMS. Congratulations to Gisle and Michael on yet more amazing work! Platform: AXP/VMS 6.2, DEC-C V5.7, Perl 5.005_02. There are just one or two minor complaints from th

Re: HTML-Parser

2000-03-06 Thread Gisle Aas
local/lib/perl5/sun4-solaris/5.00404/CORE -DMARKED_SECTION Parser.c "./hparser.c", line 1069: warning: statement not reached "Parser.c", line 367: warning: statement not reached "Parser.c", line 392: warning: statement not reached This should be not really matter, but I have fixed those for 3.06. Regards, Gisle

Re: [PATCH HTML-Parser-3.05] v5.5.670 i686-linux-thread-multi

2000-03-06 Thread Gisle Aas
+#define pTHX_ +#endif + static int -magic_free_pstate(SV *sv, MAGIC *mg) +magic_free_pstate(pTHX_ SV *sv, MAGIC *mg) { free_pstate(get_pstate_iv(sv)); return 0; This patch will be in 3.06. Regards, Gisle

Re: Documentation error in libwww-perl-5.47/README

2000-03-12 Thread Gisle Aas
David Dyck [EMAIL PROTECTED] writes: In the README file the following 3 lines are litteraly You can join the mailing list by sending a message to [EMAIL PROTECTED] with "subscribe" as subject. The email I recieved back was: To subscribe to the list, send a message to:

Re: Patch to LWP::Simple::head

2000-03-12 Thread Gisle Aas
($response-header('Last-Modified')) ), + scalar( HTTP::Date::str2time($response-header('Expires')) ), scalar $response-header('Server'), ); } I already had the following patch to HTTP::Date pending. It will also fix the same problem. Regards, Gisle

Re: credentials questions

2000-03-17 Thread Gisle Aas
he two distributions ? 5.47 comes with RedHat 6.1, so if anyone had done it with that I'd appreciate some sample code. I can't see that anything have changed that should matter to you. This is the complete diff. Regards, Gisle $ cd lwp $ cvs diff -u -rR5_45 -rR5

Re: problem with assigning referer

2000-05-15 Thread Gisle Aas
rl"); The ""Unexpected field value" message is generated by HTTP::Headers::_header. Perhaps it would be better if it just stringified the value it got instead of croaking. Regards, Gisle

Re: libwww fails for www.hotmail.com

2000-05-15 Thread Gisle Aas
not handle this case? Experiments seems to indicate that this thing has problems if the User-Agent header is not something it expects. If you override it to be something like "Mozilla/5.0" then it works as it should. Regards, Gisle

Re: extending URI::URL

2000-05-18 Thread Gisle Aas
; } sub foo { # } sub AUTOLOAD { my $self = shift; my $method = substr($AUTOLOAD, rindex($AUTOLOAD, '::')+2); return if $method eq "DESTROY"; $self-{'uri'}-$method(@_); } 1; Regards, Gisle

Re: parameter passing in form processing : Scrollboxes.

2000-05-19 Thread Gisle Aas
[EMAIL PROTECTED] writes: Could you provide a complete demo of the problem? Perhaps with a minimized example of the HTML you have problems with. Regards, Gisle Sure . Here is the snippet I have been having problem with : ($local_url will have the following value after I

Re: problem parsing URLs with userids, passwords

2000-05-24 Thread Gisle Aas
_unescape($_), + split(":", $1)); } } Regards, Gisle

Re: handling refreshes

2000-05-24 Thread Gisle Aas
for: if (my $refresh = $res-header("Refresh")) { # do something, will also trigger refresh embedded in HTML ... } Regards, Gisle

Re: http requests in perl

2000-06-02 Thread Gisle Aas
o a little further :-) Regards, Gisle

Re: Getting IP of client

2000-06-23 Thread Gisle Aas
IO::Socket::INET'. Regards, Gisle

Re: Bug in HTML::Parser (API version 2) ?

2000-06-28 Thread Gisle Aas
Ian Miller [EMAIL PROTECTED] writes: On Wed, Jun 28, 2000 at 10:46:29AM +0200, Gisle Aas screived: sub text { my ($self, $text) = @_; print STDERR "$text\n- END CHUNK -\n"; @_ = split(/\W/, $text); ## this causes th

Re: Please add HTTP::Cookies info to CPAN LWP page

2000-06-29 Thread Gisle Aas
"Chris Beels" [EMAIL PROTECTED] writes: I really had to dig to find out about the cookie_jar, it would be nice if there were some reference to it on the main LWP page. With libwww-perl-5.48 we have this section in lwpcook.pod: =head1 COOKIES Some sites like to play games with cookies. By

Re: COMPILING HTML::PARSER

2000-07-27 Thread Gisle Aas
L_hexdigit IIRC, PL_hexdigit is one of the symbols that post date perl 5.004. I don't have problems compiling HTML-Parser with perl5.004_05 here. There must be something else that is the problem. --Gisle

Re: EINPROGRESS error

2000-07-27 Thread Gisle Aas
. Does anybody have any ideas what is going on and what I can do to make it stop? Regards, Gisle

Re: Comments within style tags

2000-08-01 Thread Gisle Aas
r elements with CDATA content. This include script, style, xmp and plaintext. Regards, Gisle

Re: bug? in URI::Escape::uri_unescape 3.13 in list context

2000-08-16 Thread Gisle Aas
ssion test? True. I even made one up just now. It will be in the next release. Thanks again! Regards, Gisle

Re: HTTP::Request ... questions on POST

2000-08-17 Thread Gisle Aas
lues? use HTTP::Request::Common qw(POST); There is an example in lwpcook.pod DO they need to be encoded? Yes. If your $val variables contain the characters "" or "=" then the form decoder in the server will be confused. Regards, Gisle

Re: [PATCH] libwww 5.48 HTTP::Date

2000-08-17 Thread Gisle Aas
Sander van Zoest [EMAIL PROTECTED] writes: I was using the HTTP::Date package to parse dates in MIME Messages and seem to run into a format that wasn't supported. So I figured I would e-mail you a patch for hopeful inclusion in the next release. The format I am talking about is the

Re: HTML::Filter attempt failed

2000-08-17 Thread Gisle Aas
:LinkExtor because I want to get used to using the more general tool. Then you should use HTML::Parser directly. HTML::Filter is depreciated. Regards, Gisle Thanks. Code below: code #!/usr/local/bin/perl use LWP::UserAgent; $ua = new LWP::UserAgent; # $ua-agent("$0/0.1 " .

Re: Bug in HTTP::Cookies (libwww-perl-5.48)

2000-08-17 Thread Gisle Aas
/or domain. Then make sure 'make test' still works. Regards, Gisle

Re: HTTP request header questions

2000-08-17 Thread Gisle Aas
'form-data' special treatment of content. But then the output looks like: POST http://ojo/~ed/uploadtest.cgi Content-Length: 166 Content-Type: form-data; boundary=20340712617089' snorkel=export%20INPUTRC%3D~%2F.inputrc%0Aexport%20CVS _SERVER%3D%2Fusr%2Fbin%2Fcvs%0A=alias%20ll%3D'ls%20-al' %0Astty%20erase%20'%5E%3F'%0A=%23umask%20077%20%0A%0A = Regards, Gisle

Re: Timeout Issue on 5.6.0

2000-08-17 Thread Gisle Aas
ne. (Hoping that the revised code in 5.6.0 would not require it... still no joy). watchdog6 14:39:50 ~ $ time ./db_test.pl ^C real1m43.673s user0m0.236s sys 0m0.048s So what am I doing wrong? I suggest playing with 'strace' to find some more facts about what is really happening. Regards, Gisle

Re: [PATCH] libwww 5.48 HTTP::Date

2000-08-17 Thread Gisle Aas
guess, if you wanted to, you could throw an error or return undef if PDT doesn't match the ISO number value. Granted this would require Time::Zone to make the comparison. On systems without Time::Zone you could simply ignore it. Let's just always ignore it. Regards, Gisle

Re: On CDATA tags

2000-08-21 Thread Gisle Aas
this: attribute value literal = ( '"' replaceable character data* '"' ) | ( "'" replaceable character data* "'" ) replaceable character data = ( character data | character reference | general entity reference | Ee )* If you are not confused now, you ought to be :-) Regards, Gisle

Re: HTML::Tagset entering CPAN

2000-08-22 Thread Gisle Aas
ments from HTML::Tagset. It means that HTML::Tagset should now preferably be installed before you install HTML-Parser. Regards, Gisle

Re: spelling patch to HTML-Parser-3.11 lib/HTML/Entities.pm

2000-08-29 Thread Gisle Aas
David Dyck [EMAIL PROTECTED] writes: Patch to HTML-Parser-3.11 Thanks. Applied. Regards, Gisle --- ./lib/HTML/Entities.pm.orig Thu Nov 11 01:12:20 1999 +++ ./lib/HTML/Entities.pmMon Aug 28 17:02:38 2000 @@ -17,7 +17,7 @@ =head1 DESCRIPTION This module deals with encoding

Re: how to deal with

2000-09-10 Thread Gisle Aas
ust get URI::Escape. What I want to do is translate back and forth between #DD and regular characters. Regards, Gisle

Re: Cookies for LWPng more

2000-09-14 Thread Gisle Aas
I never got around to that. If not, what must one do to make it do so? You have to write the LWP::Conn::HTTPS module. You also want to write this as kind of a subclass of LWP::Conn::HTTP, but this is tricky since it use all kind of reblessing tricks. Regards, Gisle

Re: HTML-PARSER

2000-09-15 Thread Gisle Aas
f your kit is complete... Looks good Warning: prerequisite HTML::Tagset failed to load: Can't locate HTML/Tagset.pm in @INC (@INC contains: ) at (eval 4) line 3. Regards, Gisle

Re: Status Codes

2000-09-16 Thread Gisle Aas
have used 6xx codes for client errors, but then we might get into trouble if HTTP decided to use these codes for anything else in the future. Regards, Gisle

Re: argument suggestion

2000-09-16 Thread Gisle Aas
c = 34, } ); print $r-as_string; ___END__ Regards, Gisle Index: lib/HTTP/Request/Common.pm === RCS file: /home/cvs/aas/perl/mods/libwww-perl/lib/HTTP/

HTML-Parser-3.13 has been uploaded to CPAN

2000-09-16 Thread Gisle Aas
This release contains experimental support for decoding of Unicode entities. This is the only change since 3.12. Regards, Gisle

Re: HTML-Parser-3.13 has been uploaded to CPAN

2000-09-19 Thread Gisle Aas
KIMURA Takeshi [EMAIL PROTECTED] writes: Gisle Aas wrote on 00.9.17 1:57 AM: This release contains experimental support for decoding of Unicode entities. This is the only change since 3.12. Thank you for the new release. I built up the XS and installed it on MacPerl and tested the t

Re: how to: request($r, $self-callback, 4069)

2000-10-05 Thread Gisle Aas
-callback }, 4069); BTW, where did you get that 4069 number from? :-) Regards, Gisle The above works in that it calls CurrentClass::datahandler, but it then doesn't pass the content, response or protocol objects that would be there if you called it like yea: my $res = $UA-request($req

Re: HTTPS for LWPng

2000-10-05 Thread Gisle Aas
ram hangs when I try to retrieve a https URL. Is there something I have missed out? I hope you can throw some more light on how to support HTTPS in LWPng. Try to print out stuff during connect handshake. Did you manage to connect to the server at all? Did you manage to set up the SSL context? Regards, Gisle

Re: HTML::Form and checkboxes weirdness?

2000-10-24 Thread Gisle Aas
eld :-) You probably want to say: $f-value(name = undef); Regards, Gisle

Re: HTML-Parser-3.13

2000-10-27 Thread Gisle Aas
har() expands to something bad in your setup. Try to remove that section of code (the stuff inside if (0) { } in report_evnet()) or make sure putchar() works. Regards, Gisle

Re: LWP - encoding characters in the user/password string

2000-11-06 Thread Gisle Aas
try [EMAIL PROTECTED]. Cc-ed now. Regards, Gisle

Re: Adding Cookie to HTTP::Header

2000-11-07 Thread Gisle Aas
the cookie is created and set in the script, not received from another. $h-header("Set-Cookie", "...") Regards, Gisle

Re: lwp binary dists?

2000-11-08 Thread Gisle Aas
, Gisle

Re: URI module: cleaning up URLs

2000-11-11 Thread Gisle Aas
Gisle Aas [EMAIL PROTECTED] writes: $turl-authority($1); This does not actually work with current URI module. Use $turl-authority("$1"); as a workaround. The reason for this bug is the following perl behaviour:

Re: HTML::TokeParser bug fix against v2.19

2000-11-13 Thread Gisle Aas
redo GET_TOKEN if defined($wanted) $token-[0] ne $wanted; substr($token-[0], 0, 0) = "/" if $type eq "E"; Seems like a correct fix. I'll make sure it makes it into the next HTML-Parser release. Regards, Gisle

Re: Need help on LWP::UserAgent module!

2000-11-14 Thread Gisle Aas
( $LWP_GET_WAIT || 30 ); $res = $ua-simple_request( $req, sub { die }, 100 ); The same effect can also be achieved with: $req = HTTP::Request-new( GET = $url ); $ua-timeout( $LWP_GET_WAIT || 30 ); $ua-max_size( 1 ); $res = $ua-simple_request( $req ); Regards, Gisle

Re: Need help on LWP::UserAgent module!

2000-11-14 Thread Gisle Aas
Bill Moseley [EMAIL PROTECTED] writes: At 03:36 PM 11/14/00 -0800, Gisle Aas wrote: Maybe there's a better way, but this is what I do to validate a URL: $req = HTTP::Request-new( GET = $url ); $ua-timeout( $LWP_GET_WAIT || 30 ); $res = $ua-simple_request( $req, sub { die

Re: Change to HTML::Parser made !DOCTYPE case-sensitive

2000-12-03 Thread Gisle Aas
er both 3.05 and 3.13. HTML-Parser-3.14 will parse !doctype ... as a declaration. In xml_mode the uppercase version is still needed. Regards, Gisle

HTML-Parser-3.14

2000-12-03 Thread Gisle Aas
HTML-Parser-3.14 should now be on its way to CPAN. Jonathan Stowe discovered that HTML::HeadParser would go into an infinite loop if passed a document without markup or "\n". The reason was that HTML::Parser went into infinite recursion if a handler triggered by flushing text at eof called the

Re: HTML-Parser-3.14: Undefined symbol 'level' in function report_event

2000-12-15 Thread Gisle Aas
compile. I'll #if 0 it out properly for the next release. Regards, Gisle I found the same problem in the egroups archive: http://www.egroups.com/message/libwww-perl/6538 I preprocessed the file: cpp32 -D_RTLDLL -DWIN32 -DPERL_IMPLICIT_CONTEXT -DPERL_I MPLICIT_SYS -DVERSION=\"3.

HTML-Parser-3.15

2000-12-27 Thread Gisle Aas
A new HTML-Parser release is now on CPAN. Changes since 3.14 are: HTML::TokeParser's get_tag() method now takes multiple tags to match. Hopefully the documentation is also a bit clearer. #define PERL_NO_GET_CONTEXT: Should speed up things for thread enabled versions of

Re: HTML-Parser

2000-12-27 Thread Gisle Aas
oving HTML::HeadParser to libwww-perl would fix this. For now I just rephrased the PREREQUISITES section of the HTML-Parser README to say: | If you intend to use the HTML::HeadParser you probably want to install | libwww-perl too. Regards, Gisle

Re: HTML::Parser Undefined symbol PL_sv_undef

2000-12-28 Thread Gisle Aas
[EMAIL PROTECTED] writes: What was the purpose anyway? I guess for a quick fix, I can commented it out? The purpose is to make the same code compile on perl5.004_04, perl5.004_05, perl5.005_03 and perl-5.6.0, etc. Regards, Gisle #include "patchlevel.h" #if PATC

Re: Problem compiling HTML-Parser-3.10 or greater

2000-12-28 Thread Gisle Aas
balls should I find this somewhere else? Parser.o is to be produced from Parser.xs by 'make'. Regards, Gisle

Re: timeout problem in IO::Socket.pm

2000-12-28 Thread Gisle Aas
problem. I confess I don't really know what I'm doing ... viz. local($SIG{ALRM}) = $timeout ? sub { close $fh; } Try to upgrade your IO modules (including IO::Socket) from CPAN. http://search.cpan.org/search?dist=IO Regards, Gisle

Happy new year!

2001-01-02 Thread Gisle Aas
be a good idea to register it as a bug (or register a patch) on the SourceForge project page. Regards, Gisle

Re: Post Method Problem

2001-01-03 Thread Gisle Aas
not do the automatic canonicalization. Regards, Gisle

Re: page to retrieve has password check

2001-01-04 Thread Gisle Aas
on for the functions and objects of the libwww module? The 'perldoc LWP' command should get you started. If you are on a Unix system you might prefer 'man LWP' instead. --Gisle

Re: request and request_simple: cookies

2001-01-05 Thread Gisle Aas
cookie_jar and a litle on HTTP::Cookie, but I'm still stuck. The 'lwpcook' document also has a little example. Regards, Gisle

Re: problem installing libwww-perl-5.49

2001-01-05 Thread Gisle Aas
of perl itself. Or perhaps downgrade your RedHat... Regards, Gisle Upon doing a "make install" (even though 'make test' did not pass all tests) and having the /usr/bin/GET file installed as part of the make install i get: -

Re: HTML::Parser 3.13 Bug ?

2001-01-08 Thread Gisle Aas
ly print it out when there is a "text" event. That make your code fail unless there is text after each start tag. Whitespace is text. Regards, Gisle -- check.pl -- #!/usr/bin/perl # some html pretty printer use HTML::Parser; $indent = -1; $indentstr = " "; $p

Re: URI::Heuristic module not expanding partial url(s) containing a d ash

2001-01-09 Thread Gisle Aas
} elsif (!/^[.+\-\w]+:/) { # no scheme specified - if (s/^(\w+(?:\.\w+)*)([\/:\?\#]|$)/$2/) { + if (s/^([-\w]+(?:\.[-\w]+)*)([\/:\?\#]|$)/$2/) { my $host = $1; if ($host !~ /\./ $host ne "localhost") { Regards, Gisle

Re: determine document type

2001-01-11 Thread Gisle Aas
-max_size(1) and then try a normal GET request. You could also try to use the guess_media_type() function from LWP::MediaTypes, but it is better to actually ask the server. Regards, Gisle

Re: HTTP::Request - Username and password

2001-01-11 Thread Gisle Aas
with the GET? 'perldoc lwpcook' has some examples of this. Regards, Gisle

Re: Requests from different IP addresses?

2001-01-12 Thread Gisle Aas
print $res-as_string; Regards, Gisle We're trying to simulate a network environment where several users, each on their own IP-address, are accessing the web concurrently.

Re: possible bug in HTML::Parser comment handler

2001-01-12 Thread Gisle Aas
nside. It is always just text. The other elements that are parsed like this are script, xmp and plaintext. Regards, Gisle

Re: possible bug in HTML::Parser comment handler

2001-01-12 Thread Gisle Aas
pBla, bla,"; /script To make this correct the first print statement has to be written something like: print "h1Hello" . "/h1\n"; Regards, Gisle

Re: possible bug in HTML::Parser comment handler

2001-01-12 Thread Gisle Aas
not official HTML any more. Regards, Gisle

Re: problems installing libwww-perl on cygwin

2001-01-12 Thread Gisle Aas
"Gerrit P. Haase" [EMAIL PROTECTED] writes: 2001-01-12 10:33 Uhr, hat Gisle Aas geschrieben: Re: problems installing libwww-perl "Gerrit P. Haase" [EMAIL PROTECTED] writes: base/negotiate..FAILED test 3 Failed 1/3 tests, 66.67% okay Looks li

Re: problems installing libwww-perl on cygwin

2001-01-12 Thread Gisle Aas
"Gerrit P. Haase" [EMAIL PROTECTED] writes: base/negotiate..FAILED test 3 Failed 1/3 tests, 66.67% okay Looks like the bleadperl bug Andreas reported last week. What perl were you using? Regards, Gisle

libwww-perl-5.50

2001-01-12 Thread Gisle Aas
ley, Lee T [EMAIL PROTECTED]. Regards, Gisle

Re: URI::Escape

2001-01-16 Thread Gisle Aas
Does anybody know anything more about this kind of escapes? Are they somewhat standard somewhere and is it worth supporting them at this point? Perl5.6 can't really deal with Unicode anyway, so perhaps this is something that can wait until at least 5.7.1. --Gisle Neal Probert [EMAIL

Re: Problems setting headers for a request

2001-01-17 Thread Gisle Aas
e above method to allow custom ones to be added. So, what's the problem? The problem is that LWP::UserAgent unconditionally overrides the request User-Agent setting with what it finds in $ua-agent. This bug is already registered in http://sourceforge.net/bugs/?group_id=14630 Regards, Gisle

Re: LWP::Authen::Digest update for RFC 2617

2001-01-19 Thread Gisle Aas
Dave Dunkin [EMAIL PROTECTED] writes: My bad. Try this one. [...] --- Digest.pm.latest Fri Jan 19 03:02:43 2001 +++ Digest.pm Fri Jan 19 03:09:32 2001 @@ -3,6 +3,8 @@ require MD5; +my %nonce_count; + sub authenticate { my($class, $ua, $proxy, $auth_param, $response,

Re: LWP::Authen::Digest update for RFC 2617

2001-01-22 Thread Gisle Aas
Dave Dunkin [EMAIL PROTECTED] writes: On 19 Jan 2001 10:11:41 -0800, Gisle Aas wrote: snip You should probably try to avoid warnings from perl about using undef values if the response did not include any nonce value too. LWP really ought to have a test-suite entry for this code too

Re: [URI 1.10] patch to URI/URL.pm

2001-01-22 Thread Gisle Aas
existing code. Do you think the change is a good idea? Then I think it's best to just leave it as it was. Patch reverted. --Gisle

Re: 64 bit ints Parser.xs warnings

2001-02-01 Thread Gisle Aas
Mike Stok [EMAIL PROTECTED] writes: Worked for me... Good. Then this will be how we do it in 3.16. I also had to add a: #ifndef INT2PTR #define INT2PTR(any,d) (any)(d) #define PTR2IV(p) (IV)(p) #endif to get Parser.xs to still compile with earlier perls. --Gisle

  1   2   3   4   5   6   7   >