Subject: | Status line is not 'HTTP/1.0 200 OK' |
Date: | Thu, 28 Sep 2006 22:48:26 +0200 |
To: | bug-SOAP-Lite [...] rt.cpan.org |
From: | David Serrano <dserrano5 [...] yahoo.es> |
I'm making use of a SOAP library in javascript that apparently needs a proper
HTTP response to work. SOAP::Lite does not send a proper HTTP status line
unless running under IIS, in which case SOAP::Lite behaves like a
non-parsed-headers script. I'm using apache, and get a response like:
Status: 200 OK
[rest of response]
instead of the standard:
HTTP/1.1 200 OK
[rest of response]
This patch adds a nph() function to SOAP::Transport::HTTP::CGI, so one can
choose the desired behaviour. Its usage can be:
SOAP::Transport::HTTP::CGI
->dispatch_to ('my/modules', 'MyPackage')
->nph
->handle;
--
David Serrano - http://hue-bond.blogspot.com
Message body is not shown because sender requested not to inline it.