Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-680

ClassicRequestBuilder does not accept a RequestConfig

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 5.1
    • None
    • HttpCore
    • None

    Description

      Since 5.1 the new request builder classes seem to be the recommended way of creating http requests, if I'm not mistaken. The original SimpleHttpRequests class is now straight up deprecated. However, unlike SimpleRequestBuilder, the new ClassicRequestBuilder does not accept a RequestConfig. To make matters worse, the request class it produces is BasicClassicHttpRequest, which does not accept a RequestConfig either. This basically renders the ClassicRequestBuilder class useless in a lot of situations.

      Attachments

        Activity

          People

            Unassigned Unassigned
            slisaasquatch Siqi Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: