Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: contact [...] clipland.com
Cc:
AdminCc:

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



Subject: LWP::UserAgent + HTTP::Request: could it be a $content_file never gets uploaded?
Doing my $file = '/tmp/test.file'; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new('PUT' => 'http://www.example.com/test.file'); # syntax in docs: $ua->request( $request, $content_file ) my $res = $ua->request($req, $file); at least in my script never resulted in a file being uploaded or the content of the request being bigger than 0. Dumper($res) *snipped*; '_request' => bless( { '_content' => '',