Skip Menu |

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

Report information
The Basics
Id: 74577
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: Terry.Harple [...] gmail.com
Cc:
AdminCc:

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



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}
I think, the appropriat fis is not to suppress the character encoding for compressed content, but to compress the content after applying the character encoding. Patched in rev408 in SVN Martin
Fixed in 0.715