Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 4581
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: richardd [...] cisco.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: 500 EOF error
Download (untitled) / with headers
text/plain 572b
Hi, What does the error mean? $ua->credentials( $netloc, $realm, $username, $passwd ); $ua->timeout( "1200" ); my $req = POST $report_url, $form_ref; my $content = $ua->request($req); if ( $content->is_success ) { my $body = $content->as_string; } else { my $err_msg = $content->error_as_HTML; ... cut ... ERROR: main::(cc_change_metrics_report:570): 570: print $err_msg, "\n"; DB<6> n <HTML> <HEAD><TITLE>An Error Occurred</TITLE></HEAD> <BODY> <H1>An Error Occurred</H1> 500 EOF instead of reponse status line </BODY> </HTML> Regards, Richard
From: richardd [...] cisco.com
Download (untitled) / with headers
text/plain 997b
[guest - Thu Dec 4 19:50:33 2003]: Update: I got the error EOF when used perl 5.6, and lwp at 5.64. richardd-u5% /usr/cisco/bin/perl5.6 -MLWP -e "print(LWP->VERSION)" 5.64 Even after downloaded lwp version 5.76. Lwp doesn't appear consider EOF as an error, but return nothing from post request. Any insights about this error? Regards, Richard Show quoted text
> Hi, > > What does the error mean? > > $ua->credentials( $netloc, $realm, $username, $passwd ); > > $ua->timeout( "1200" ); > > my $req = POST $report_url, $form_ref; > > my $content = $ua->request($req); > > if ( $content->is_success ) { > my $body = $content->as_string; > > } else { > my $err_msg = $content->error_as_HTML; > > ... cut ... > > ERROR: > > main::(cc_change_metrics_report:570): > 570: print $err_msg, "\n"; > DB<6> n > <HTML> > <HEAD><TITLE>An Error Occurred</TITLE></HEAD> > <BODY> > <H1>An Error Occurred</H1> > 500 EOF instead of reponse status line > </BODY> > </HTML> > > Regards, > Richard


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.