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

Fluent-HC GET should support bodyString()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 4.3.2
    • None
    • Fluent HC
    • None

    Description

      Request.Get(url).bodyString(json, ContentType.APPLICATION_JSON).execute() currently fails with "GET request cannot enclose an entity"

      This is simply incorrect and works flawlessly with the regular HttpClient.

      This should be trivial to enable in the fluent one as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              axel.fontaine Axel Fontaine
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: