my $content = ($resp->content_encoding || '') =~ /\b$SOAP::Transport::HTTP::Client::COMPRESS\b/o && $self->options->{is_compress} ? Compress::Zlib::memGunzip($resp->content) : ($resp->content_encoding || '') =~ /\S/ ? die "Can't understand returned Content-Encoding (@{[$resp->content_encoding]})\n" : $resp->content; $resp->content_type =~ m!^multipart/! ? join("\n", $resp->headers_as_string, $content) : $content;