Has anyone seen this behavior? Working on a custom WebDAV server. Need to reply with XML and Multi-Status response.
$r->status(Apache::HTTP_MULTI_STATUS); or $r->status(207); always results in the following Usage: Apache::Request::status(sv) at API/Modes.pm line 235. Regardless of the failed attempts to change status, my $l = length($xml_data); $obj->apache_handle->set_content_length($l); $obj->apache_handle->content_type('text/xml'); $obj->apache_handle->print($xml_data); return Apache::HTTP_MULTI_STATUS; would always return status 200. Tried to work around this by outputting the XML using $r->custom_response(Apache::HTTP_MULTI_STATUS,$xml_data); which returned the XML data with the correct 207 response, but in this case the $r->content_type('text/xml'); was ignored and the server reported the xml data as 'text/html'. Found this to be the case with both mod_perl-1.99_11 and mod_perl-1.99_12. Did not try earlier versions. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html