Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 14336
Status: resolved
Priority: 0/
Queue: CGI

Owner: LDS [...]
Requestors: eingb [...]

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

Subject: missing pod documentation for handling non-URLencoded Arguments
Download (untitled) / with headers
text/plain 965b
The following chunk of documentation present at or other locations is missing in the pod of ! <citation> Handling non-URLencoded Arguments If POSTed data is not of type application/x-www-form-urlencoded or multipart/form-data, then the POSTed data will not be processed, but instead be returned as-is in a parameter named POSTDATA. To retrieve it, use code like this: my $data = $query->param('POSTDATA'); (If you don't know what the preceding means, don't worry about it. It only affects people trying to use CGI for XML processing and other specialized tasks.) </citation> This lack will make people having to handle requests of varying content-types write unnecessary hacks. In addition, I'd like to suggest that the request body for non-url encoded content types should be available via a content_body() method or similar and be documented in the FETCHING ENVIRONMENT VARIABLES-section of the pod Regards Bodo
This will be fixed in 3.12.

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

Please report any issues with to