Skip Menu |
 

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 101225
Status: open
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: yumingzhang2000 [...] hotmail.com
Cc:
AdminCc:

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



Subject: Catalyst::Request $req->body
Date: Wed, 31 Dec 2014 20:56:03 +0000
To: "bug-Catalyst-Runtime [...] rt.cpan.org" <bug-catalyst-runtime [...] rt.cpan.org>
From: david zhang <yumingzhang2000 [...] hotmail.com>
Download (untitled) / with headers
text/plain 369b
By the document, $req->body "returns the message body of the request, as returned by HTTP::Body: a string, unless Content-Type is application/x-www-form-urlencoded, text/xml, or multipart/form-data, in which case a File::Temp object is returned" However, if the body is not empty, It returns File::Temp always. Is the document left behind? David Zhang
Download (untitled) / with headers
text/plain 259b
good point, the docs here need an update. Lots of things have changed around it. In general I think it got ignored because I think getting the raw body may not be common. I'd love to hear the use cases since maybe we can come up with a more clear interface


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.