Subject: | "handle_request or die" is evil |
XML::Atom::Server goes:
eval {
$out = $server->handle_request or die $server->errstr;
if (defined $out && $server->{is_soap}) {
This doesn't allow us to implemente "DELETE" method to return
200 OK
Content-Type: application/x.atom+xml
I mean in this case handle_request() returns ''. So patching this:
eval {
$out = $server->handle_request();
defined($out) or die $server->errstr;
would fix it.