You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2013/10/21 10:15:29 UTC
[2/2] git commit: CAMEL-6879: camel-restlet consumer should send back
HTTP headers, such as Location etc.
CAMEL-6879: camel-restlet consumer should send back HTTP headers, such as Location etc.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/98fb9345
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/98fb9345
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/98fb9345
Branch: refs/heads/camel-2.12.x
Commit: 98fb93451277a2ea812f8fa5af4d023b850c697f
Parents: 982d6bd
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Oct 21 10:15:16 2013 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Oct 21 10:15:38 2013 +0200
----------------------------------------------------------------------
.../camel/component/restlet/RestletHeaderFilterStrategy.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/98fb9345/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletHeaderFilterStrategy.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletHeaderFilterStrategy.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletHeaderFilterStrategy.java
index 4ef196b..3a102c5 100644
--- a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletHeaderFilterStrategy.java
+++ b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletHeaderFilterStrategy.java
@@ -18,7 +18,6 @@ package org.apache.camel.component.restlet;
import org.apache.camel.Exchange;
import org.apache.camel.impl.DefaultHeaderFilterStrategy;
-import org.restlet.engine.header.HeaderConstants;
/**
* Default header filtering strategy for Restlet
@@ -38,9 +37,6 @@ public class RestletHeaderFilterStrategy extends DefaultHeaderFilterStrategy {
// The "CamelAcceptContentType" header is not added to the outgoing HTTP
// headers but it will be going out as "Accept.
getOutFilter().add(Exchange.ACCEPT_CONTENT_TYPE);
-
- // Remove Camel and org.restlet internal headers
-// setOutFilterPattern("(Camel.*)|(org\\.restlet\\..*)");
-// setOutFilterPattern("org\\.restlet\\..*");
}
+
}