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

Owner: Nobody in particular
Requestors: contact [...]

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?
Download (untitled) / with headers
text/plain 422b
Doing my $file = '/tmp/test.file'; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new('PUT' => ''); # 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' => '',

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

Please report any issues with to