You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/02/19 08:05:15 UTC
svn commit: r745761 - in /camel/branches/camel-1.x: ./
components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
Author: ningjiang
Date: Thu Feb 19 07:05:15 2009
New Revision: 745761
URL: http://svn.apache.org/viewvc?rev=745761&view=rev
Log:
Merged revisions 745751 via svnmerge from
https://svn.apache.org/repos/asf/camel/trunk
........
r745751 | ningjiang | 2009-02-19 14:24:24 +0800 (Thu, 19 Feb 2009) | 1 line
Should not filiting the GZIPHelper.CONTENT_ENCODING and fixed the failed unit test
........
Modified:
camel/branches/camel-1.x/ (props changed)
camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
Propchange: camel/branches/camel-1.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Feb 19 07:05:15 2009
@@ -1 +1 @@
-/camel/trunk:739733,739904,740251,740295,740306,740596,740663,741848,742231,742705,742739,742854,742856,742898,742906,743613,743762,743773,743920,743959-743960,744123,745105,745367,745541
+/camel/trunk:739733,739904,740251,740295,740306,740596,740663,741848,742231,742705,742739,742854,742856,742898,742906,743613,743762,743773,743920,743959-743960,744123,745105,745367,745541,745751
Propchange: camel/branches/camel-1.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java?rev=745761&r1=745760&r2=745761&view=diff
==============================================================================
--- camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java (original)
+++ camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java Thu Feb 19 07:05:15 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());