... LWPng can in fact already do this. I have included an implementation of your interface below. For the current LWP it isn't possible I think. Have to...
3213
Gisle Aas
gisle@...
May 1, 1998 2:37 pm
... The main thing I don't like about this is that you have the same problem if the sub-subclass want to do adjust the callbacks too. You would have to...
3214
erik@...
May 2, 1998 2:32 pm
HeadParser.pm contains the following =head1 DESCRIPTION The I<HTML::HeadParser> is a specialized (and lightweight) I<HTML::Parser> that will only parse the...
3215
deadly!@...
May 2, 1998 8:49 pm
WOULD YOU WORK 12 HOURS A DAY FOR THE NEXT 4 TO 6 MONTHS TO BECOME A MILLIONAIRE SO YOU WOULD NEVER HAVE TO WORRY ABOUT MONEY FOR THE REST OF YOUR LIFE? If so,...
3216
Million@...
May 2, 1998 11:55 pm
WOULD YOU WORK 12 HOURS A DAY FOR THE NEXT 4 TO 6 MONTHS TO BECOME A MILLIONAIRE SO YOU WOULD NEVER HAVE TO WORRY ABOUT MONEY FOR THE REST OF YOUR LIFE? If so,...
3217
Nathan Good
good0214@...
May 4, 1998 4:46 pm
I just started following this list again recently. I've noticed a lot of messages regarding the HTML::Parser module. If there are any signifigant additions to...
3218
Jeff Platt
cst96061@...
May 4, 1998 7:48 pm
How do I force the client/browser to start downloading or iniate the download/save as window when sending it a text file I am creating on the fly? I do not...
3219
JP May
jpm@...
May 4, 1998 10:06 pm
A simple solution is to call the cgi exactly as the file would be called if it was a file. (Much as you can call a cgi 'teste.gif' to produce a gif on the fly)...
3220
Maurice Aubrey
maurice@...
May 4, 1998 11:49 pm
I believe I've found a problem with redirection. I'm running libwww-perl 5.32, which CPAN tells me is the latest. Here's a small script which will illustrate...
3221
Otis Gospodnetic
otis@...
May 5, 1998 1:12 am
try sending the browser a different content-type, something that the browser cannot show and needs to save. Otis ... From: Jeff Platt <cst96061@...> ...
3222
BTilly@...
May 5, 1998 3:56 am
Have you tried changing the usual "Content-Type: text/html" to "Content-Type: text/plain"? Cheers, Ben Tilly BenT@... ______________________________...
3223
David A. Lee
dave@...
May 5, 1998 7:04 am
I've found that the best type for this is application/octet-stream This has always prompted a file save-as dialog in my experience. ... ...
3224
Gisle Aas
gisle@...
May 5, 1998 9:30 am
... It is a bug. I think it was introduced with this change in LWP-5.21: o LWP::Protocol::http will not initialize the Host header if it is already set. You...
3225
Ed Jordan
ed@...
May 5, 1998 12:14 pm
... I disagree, as the behaviour before my patch was *also* a bug. Instead, the fact of redirection should force the Host: header to change. Would you like me...
3226
BTilly@...
May 5, 1998 3:59 pm
Erm...as I understand it the name of the file does something between nil and zilch in this case. All that should matter is what is in the header...? So...
3227
Danny J. Sohier
dsohier@...
May 5, 1998 7:16 pm
... Yup, I agree. I,ve been using that MIME type for 4 years now to force a download of a text file. Danny ...
3228
Gisle Aas
gisle@...
May 5, 1998 9:53 pm
... Probably. Could you remind me of why you wanted to be able to override Host: to be inconsistent with the URL? ... A simple...
3229
Ed Jordan
ed@...
May 6, 1998 1:59 am
... It's simply a violation of the Principle of Least Surprise; the user says "Send this Host: header", and the old behaviour completely ignored that. Hence, I...
3230
Ryan Brochez
cst96100@...
May 6, 1998 4:55 am
I don't think that'll work. A browser will display plain text. Pushing a file type of *.pl will force the browser to download the file, as it would with any...
3231
Dion Almaer
dion@...
May 6, 1998 6:09 am
I have recently had to write programs that interface with https:// servers. I ended up having perl fork() off lynx -post_data which is not very elegant :) Is...
3232
Blair Zajac
blair@...
May 6, 1998 8:05 am
Hi, I'm developing a code that downloads GPS data from a large number of computers and moves them to a series of archives. The archive will either be on a...
3233
Gisle Aas
gisle@...
May 6, 1998 12:36 pm
... Nothing significat. They have been unbundled. ... 5.32 -- Gisle Aas...
3234
Gisle Aas
gisle@...
May 6, 1998 3:47 pm
... OK. I think we should just fix LWP::Protocol::http so that it does not modify the request object. Currently it has a potential for setting...
3235
Rob Manson
robman@...
May 6, 1998 6:51 pm
Does anyone have any ideas on how to tell the browser to save the file with a name that is different to the CGI script that initiates the save. (Assuming...
3236
Blair Zajac
blair@...
May 6, 1998 10:12 pm
Hi, The enclosed patch fixes the following warning: Use of uninitialized value at /opt/perl5/lib/site_perl/LWP/Conn/FTP.pm line 904. Use of uninitialized value...
3237
Patrick Sibenaler
patrick@...
May 6, 1998 11:31 pm
For some reson I cannot track, one of my scripts crashes occasionally in the http::request command with a segmentation fault. It seems that the problem occurs...
3238
Maurice Aubrey
maurice@...
May 7, 1998 12:50 am
... It's already been done. :-) From the libwww-perl 5.32 README: If you want to access sites using the https protocol, then you need to install the...
3239
Gisle Aas
gisle@...
May 7, 1998 2:16 am
This is the patch (relative to LWP-5.32) that I will use. It make sure that we do not modify the HTTP::Request object while processing it. This is done my...
3240
Philippe LAURENT
plaurent@...
May 7, 1998 3:22 am
Hi, Using the library on the following url http://193.91.44.33:8890/servlets/gates/forum/main I get the following message Bad Request (400) In order to use...
3241
Doug Monroe
monroe@...
May 7, 1998 4:45 am
... perhaps an approach like using LWP to download the initial set of data and something like rdist, or stage might work?? for stage ref you must go thru the...