Author: ningjiang
Date: Thu Feb 19 06:24:24 2009
New Revision: 745751

URL: http://svn.apache.org/viewvc?rev=745751&view=rev
Log:
Should not filiting the GZIPHelper.CONTENT_ENCODING and fixed the failed unit 
test

Modified:
    
camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java

Modified: 
camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java?rev=745751&r1=745750&r2=745751&view=diff
==============================================================================
--- 
camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
 (original)
+++ 
camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
 Thu Feb 19 06:24:24 2009
@@ -30,8 +30,7 @@
 
     protected void initialize() {
         getOutFilter().add("content-length");
-        getOutFilter().add("content-type");
-        getOutFilter().add(GZIPHelper.CONTENT_ENCODING.toLowerCase());
+        getOutFilter().add("content-type");        
         getOutFilter().add(HttpMethods.HTTP_METHOD.toLowerCase());
         getOutFilter().add(HttpProducer.QUERY);
         getOutFilter().add(HttpProducer.HTTP_RESPONSE_CODE.toLowerCase());


Reply via email to