Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1474

HTTP POST with Fluent HC is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.3
    • 4.3.4
    • Fluent HC
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rickmode Rick Mouritzen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: