Skip Menu |
 

This queue is for tickets about the HTTP-Request-StreamingUpload CPAN distribution.

Report information
The Basics
Id: 128485
Status: new
Priority: 0/
Queue: HTTP-Request-StreamingUpload

People
Owner: Nobody in particular
Requestors: mohelnikova [...] avast.com
Cc:
AdminCc:

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



Subject: bug in upload when you give the filehandle (Windows)
Date: Tue, 12 Feb 2019 15:47:16 +0100
To: bug-HTTP-Request-StreamingUpload [...] rt.cpan.org
From: "Mohelníková, Lucie" <mohelnikova [...] avast.com>
Download (untitled) / with headers
text/plain 510b
Hello, I would like to give you a feedback on your module HTTP::Reques::StreamingUpload: It doesn't work correctly on Windows, when you use the version with filehandle. It's caused by different type of lines (Linux and Windows are different and you have to open in binary mode). Line: https://metacpan.org/source/YAPPO/HTTP-Request-StreamingUpload-0.01/lib/HTTP/Request/StreamingUpload.pm#L36 There should be: open $fh, '<:raw', $args->{path} or Carp::croak "$args->{path}: $!"; Thank you. Best regards, Lucie


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.