You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Rick Mouritzen (JIRA)" <ji...@apache.org> on 2014/03/04 19:09:23 UTC
[jira] [Created] (HTTPCLIENT-1474) HTTP POST with Fluent HC is
broken
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 breaks 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’s request member is an instance of HttpEntityEnclosingRequest. However after the change above, this can never happen.
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