Uploaded image for project: 'HttpComponents HttpAsyncClient'
  1. HttpComponents HttpAsyncClient
  2. HTTPASYNC-73

Request headers are not copied upon redirect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.1
    • 4.0.2
    • None

    Description

      When a request is automatically redirected to a new address, request headers from the original request are not copied.

      For example, if I set Accept: application/json and the server returns 302, a new request is sent to the new location without any Accept header. It results in an unexpected content-type in the response. I think it's not correct.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dart0 Lukas Krecan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: