Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 86044
Status: new
Priority: 0/

Owner: Nobody in particular
Requestors: astricker [...]

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

Subject: SOAP::WSDL::Server::Mod_Perl2 should return Content-Length
Download (untitled) / with headers
text/plain 808b
The mod_perl handler get a whole xml response string from handle() method. So he gets already the whole answer and therefore knows about its length. Returning this as Content-Length prevents some potential problems that may be caused otherwise. When Content-Length is not provided Apache return a response with Transfer-Encoding: chunked. The following patch add a Content-Length to the response. Index: =================================================================== --- (revision 866) +++ (working copy) @@ -100,6 +100,7 @@ if ($response_msg) { $r->content_type('text/xml; charset="utf-8"'); + $r->headers_out->add('Content-Length' => length($response_msg)); $r->print($response_msg); return Apache2::Const::OK; }

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

Please report any issues with to