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>
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