CAM-SOAPApp
view release on metacpan or search on metacpan
lib/CAM/SOAPApp.pm view on Meta::CPAN
# (!defined $SOAP::Lite::VERSION ||
# $SOAP::Lite::VERSION ne '0.55'))
#{
# warn("SOAP::Lite version is not v0.55\n".
# " $pkg lenient mode is optimized for SOAP::Lite v0.55.\n" .
# " It has not been tested with other SOAP::Lite versions.\n".
# " To silence this warning set\n".
# " $CAM::SOAPApp::NO_SOAP_LITE_WARNING = 1;\n");
#}
## Hack to repair content-type for clients who send the wrong
## value or no value (notably the Apple Sherlock 3 interface
## and Flash)
# This doesn't actually work for servers, but we'll include
#it in case SOAP::Lite ever gets fixed.
$SOAP::Constants::DO_NOT_CHECK_CONTENT_TYPE = 1;
# CGI version
if (!$ENV{CONTENT_TYPE} ||
$ENV{CONTENT_TYPE} !~ m{\A (?: text/xml | multipart/(?:related|form-data) ) }xms)
( run in 2.873 seconds using v1.01-cache-2.11-cpan-524268b4103 )