You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/09/06 08:07:47 UTC

[camel] 03/05: CAMEL-12751 - Added documentation to ignoreContentLengthHeader parameter

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b2aefeb9585c290683a407f6c51789e9e0e92c5b
Author: Bob Paulin <bo...@bobpaulin.com>
AuthorDate: Wed Aug 29 22:46:24 2018 -0500

    CAMEL-12751 - Added documentation to ignoreContentLengthHeader parameter
---
 .../main/java/org/apache/camel/component/http4/HttpEndpoint.java  | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
index be54d54..9b7cf08 100644
--- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
+++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
@@ -459,6 +459,14 @@ public class HttpEndpoint extends HttpCommonEndpoint {
     
     /**
      * Ignore Content-Length Header
+     * <p>
+     * Ignore the HTTP Content-Length Header when sending the 
+     * request to the HttpProducer.  Set this to false to explicitly 
+     * set Content-Length of a request body.
+     * </p>
+     * <p>
+     * Default: {@code true}
+     * </p>
      */
     public boolean isIgnoreContentLengthHeader() {
         return ignoreContentLengthHeader;