hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Mouritzen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1474) HTTP POST with Fluent HC is broken
Date Tue, 04 Mar 2014 18:09:23 GMT
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


Mime
View raw message