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: [email protected]
For additional commands, e-mail: [email protected]