From commits-return-64883-apmail-camel-commits-archive=camel.apache.org@camel.apache.org Thu Sep 6 08:12:44 2018 Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA8EC1A64D for ; Thu, 6 Sep 2018 08:12:44 +0000 (UTC) Received: (qmail 15619 invoked by uid 500); 6 Sep 2018 08:12:44 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 15471 invoked by uid 500); 6 Sep 2018 08:12:44 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 15260 invoked by uid 99); 6 Sep 2018 08:12:44 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2018 08:12:44 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id B3F2A85315; Thu, 6 Sep 2018 08:12:43 +0000 (UTC) Date: Thu, 06 Sep 2018 08:12:45 +0000 To: "commits@camel.apache.org" Subject: [camel] 03/04: CAMEL-12751 - Added documentation to ignoreContentLengthHeader parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: acosentino@apache.org In-Reply-To: <153622156220.21709.3360467247434409588@gitbox.apache.org> References: <153622156220.21709.3360467247434409588@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/camel-2.22.x X-Git-Reftype: branch X-Git-Rev: d8d468f69496134d770f1bb31df36107ae3444d7 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180906081243.B3F2A85315@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.22.x in repository https://gitbox.apache.org/repos/asf/camel.git commit d8d468f69496134d770f1bb31df36107ae3444d7 Author: Bob Paulin 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 + *

+ * 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. + *

+ *

+ * Default: {@code true} + *

*/ public boolean isIgnoreContentLengthHeader() { return ignoreContentLengthHeader;