Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1285

ApacheHttpClient4Engine ignores HttpClient#defaultRequestConfig

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.1.0.Final, 3.0.20.Final
    • 3.0.14.Final
    • jaxrs
    • None

    Description

      As described here the RequestConfig class is used to control certain behaviour in HttpClient 4.5 such as cookie policy.

      ApacheHttpClient4Engine completely ignores this and always uses the default cookie policy which leads to unnecessary log warnings. This issue has been described before in RESTEASY-975 and could be fixed by changing #createHttpMethod to copy the default config from the HttpClient. Currently there is no way to set this, and then InternalHttpClient#doExecute creates a RequestConfig based on the request HttpParams which also cannot be modified.

      Attachments

        Issue Links

          Activity

            People

              rsearls r searls
              jfreedman_jira Jon Freedman (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: