Subject: | work around/fixes for success with MS WS https/compressed |
I am using SOAP::Lite to access proprietary services hosted on Windows
2008/IIS 7 platform. After significant debugging only 2 minor changes
where required for gzip compressed envelopes over https.
Thanks for the module and I hope this helps others.
/usr/local/share/perl5/SOAP/Transport/HTTP.pm
00,207c200,210
< if ($] < 5.008) {
< $envelope = pack( 'C0A*', $envelope );
< }
< else {
< require Encode;
< $envelope = Encode::encode('UTF-8', $envelope);
< }
< # if !$SOAP::Constants::DO_NOT_USE_LWP_LENGTH_HACK
---
Show quoted text
> unless ($compressed)
> {
> if ($] < 5.008) {
> $envelope = pack( 'C0A*', $envelope );
> }
> else {
> require Encode;
> $envelope = Encode::encode('UTF-8', $envelope);
> }
> }
> # if !$SOAP::Constants::DO_NOT_USE_LWP_LENGTH_HACK
308c311
< && $self->options->{is_compress}
---
Show quoted text> || $self->options->{is_compress}