Diff of /branches/0.71/lib/SOAP/Transport/HTTP.pm [r413] .. [r414] Maximize Restore

  Switch to side-by-side view

--- a/branches/0.71/lib/SOAP/Transport/HTTP.pm
+++ b/branches/0.71/lib/SOAP/Transport/HTTP.pm
@@ -4,7 +4,7 @@
 # SOAP::Lite is free software; you can redistribute it
 # and/or modify it under the same terms as Perl itself.
 #
-# $Id: HTTP.pm 413 2012-07-15 08:35:24Z kutterma $
+# $Id: HTTP.pm 414 2012-07-15 09:18:42Z kutterma $
 #
 # ======================================================================
 
@@ -12,7 +12,7 @@
 
 use strict;
 
-our $VERSION = 0.714;
+our $VERSION = 0.715;
 
 use SOAP::Lite;
 use SOAP::Packager;
@@ -207,12 +207,12 @@
             }
             #  if !$SOAP::Constants::DO_NOT_USE_LWP_LENGTH_HACK
             #      && length($envelope) != $bytelength;
-            
-			# compress after encoding
-			# doing it before breaks the compressed content (#74577)
-			$envelope = Compress::Zlib::memGzip($envelope) if $compressed;
-            
-			$http_request->content($envelope);
+
+            # compress after encoding
+            # doing it before breaks the compressed content (#74577)
+            $envelope = Compress::Zlib::memGzip($envelope) if $compressed;
+
+            $http_request->content($envelope);
             $http_request->protocol('HTTP/1.1');
 
             $http_request->proxy_authorization_basic( $ENV{'HTTP_proxy_user'},