Skip Menu |
 

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

Report information
The Basics
Id: 21771
Status: new
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: dserrano5 [...] yahoo.es
Cc:
AdminCc:

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



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>
Download (untitled) / with headers
text/plain 659b
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
Download HTTP.pm.diff
text/x-diff 871b

Message body is not shown because sender requested not to inline it.



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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.