PUT should handle files like POST [rt.cpan.org #65843]
oalders opened this issue · comments
Olaf Alders commented
Migrated from rt.cpan.org#65843 (status was 'open')
Requestors:
From rizen@cpan.org on 2011-02-17 16:38:34:
This isn't a bug so much as a minor feature request. HTTP::Request::Common::POST handles file
posting, but with RESTFUL web services you need to be able to do the same thing on a PUT.
Right now this is achievable by simply doing:
my $req = POST ...;
$req->method('PUT');
But it's kind of hackish.
From augie.schwer@gmail.com on 2013-02-23 00:03:55:
Me too; the put() method was totally throwing me for a loop before I
found this bug report.
Andrew Hewus Fresh commented
This should move to the HTTP::Message issue queue