Skip Menu |

This queue is for tickets about the XML-Atom CPAN distribution.

Report information
The Basics
Id: 31309
Status: new
Priority: 0/
Queue: XML-Atom

People
Owner: Nobody in particular
Requestors: burble9 [...] gmail.com
Cc:
AdminCc:

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



Subject: XML::Atom::Server request_content empty under CGI
XML::Atom::Server -> request_content returns empty when running as CGI. This may be because CGI.pm has already read STDIN, so read() gets nothing at line 141. Potential fix is to delete lines 140 and 141, replace with: my $method = $server->request_method; $method = undef unless ($method eq 'POST' || $method eq 'PUT'); $server->{request_content} = $method ? $server->{cgi}->param($method.'DATA') : '';