You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/03/05 17:09:43 UTC

[jira] [Updated] (HTTPCLIENT-1474) HTTP POST with Fluent HC is broken

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCLIENT-1474:
------------------------------------------

         Priority: Major  (was: Blocker)
    Fix Version/s: 4.3.4

> 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
>             Fix For: 4.3.4
>
>
> 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