* Patrick Powell ([email protected]) [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
[email protected] [email protected]
http://Mark.Overmeer.net http://solutions.overmeer.net
_______________________________________________
Xml-compile mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile