[Xml-compile] XML-compile: SOAPHTTP.pm
Mark Overmeer
mark at overmeer.net
Mon Nov 20 16:44:08 GMT 2017
* Patrick Powell (papowell at astart.com) [171120 15:46]:
> /usr/local/lib/perl5/site_perl/XML/Compile/Transport/SOAPHTTP.om
> my $parse = sub
> { my $response = shift;
> UNIVERSAL::isa($response, 'HTTP::Response')
> or error __x"no response object received";
>
> my $ct = $response->content_type || '';
Would this help:
my $ct = $response->content_type || 'text/xml';
> There does not appear to be a content_type for this response.
> Where in the XML support does the 'content_type' for the response get added?
This client speaks to the XML::Compile::SOAP::Daemon? Which server type?
>
> Some systems do not respond with a 'content_type' value of *xml* but
> have content type 'text/plain', or even 'text/html'
> Should there be an option to allow a set of content_types?
Apparently rarely, nowadays. I haven't received complains.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list