Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE3DF10CD5 for ; Tue, 4 Mar 2014 18:09:37 +0000 (UTC) Received: (qmail 87917 invoked by uid 500); 4 Mar 2014 18:09:36 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 87486 invoked by uid 500); 4 Mar 2014 18:09:27 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 86996 invoked by uid 99); 4 Mar 2014 18:09:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 18:09:23 +0000 Date: Tue, 4 Mar 2014 18:09:23 +0000 (UTC) From: "Rick Mouritzen (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HTTPCLIENT-1474) HTTP POST with Fluent HC is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Rick Mouritzen created HTTPCLIENT-1474: ------------------------------------------ Summary: HTTP POST with Fluent HC is broken Key: HTTPCLIENT-1474 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1474 Project: HttpComponents HttpClient Issue Type: Bug Components: Fluent HC Affects Versions: 4.3.3 Reporter: Rick Mouritzen Priority: Blocker The body method of org.apache.http.client.fluent.Request is broken. This br= eaks HTTP POSTs via the static Request.Post factory method. This occurred in revision 1568975 (4.3.x branch) and 1568979 (trunk). The body method only only works when the Request object=E2=80=99s request m= ember is an instance of HttpEntityEnclosingRequest. However after the chang= e above, this can never happen.=20 It appears that refactoring done in the above revision above did not follow= through to the POST case. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org