From 7c110e07f0896a46474c5b0265af4ad0ef3211e7 Mon Sep 17 00:00:00 2001 From: danielr Date: Wed, 16 Jul 2008 12:39:38 +0000 Subject: [PATCH] removed debug git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5006 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/http/JakartaCommonsHttpClient.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/de/anomic/http/JakartaCommonsHttpClient.java b/source/de/anomic/http/JakartaCommonsHttpClient.java index 1c2086f64..c85aa6c19 100644 --- a/source/de/anomic/http/JakartaCommonsHttpClient.java +++ b/source/de/anomic/http/JakartaCommonsHttpClient.java @@ -277,8 +277,6 @@ public class JakartaCommonsHttpClient { } RequestEntity data = new MultipartRequestEntity(parts, post.getParams()); if (gzipBody) { - serverLog.logFinest("HTTPD", "POST should be gzip, going to pack data with content length " + - data.getContentLength()); // cache data and gzip it final ByteArrayOutputStream zippedBytes = new ByteArrayOutputStream(); final GZIPOutputStream toZip = new GZIPOutputStream(zippedBytes); @@ -287,7 +285,6 @@ public class JakartaCommonsHttpClient { toZip.flush(); // use compressed data as body (not setting content length according to RFC 2616 HTTP/1.1, section 4.4) data = new ByteArrayRequestEntity(zippedBytes.toByteArray(), data.getContentType()); - serverLog.logFinest("HTTPD", "gzipped POST has content length " + data.getContentLength()); post.setRequestHeader(httpHeader.CONTENT_ENCODING, httpHeader.CONTENT_ENCODING_GZIP); }