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

Custom Protocol in HostConfiguration ignored

    XMLWordPrintableJSON

Details

    Description

      If you you do not register a custom Protocol as scheme default handler but set it in HostConfiguration, it will be ignored if the URL given to a Method instance is absolute.

      HttpClient will then override it by calling hostconfig.setHost(uri).

      Attachments

        1. patch_TestHostConfiguration.txt
          4 kB
          Olaf Sebelin
        2. patch.txt
          0.7 kB
          Olaf Sebelin

        Issue Links

          Activity

            People

              Unassigned Unassigned
              os@bos-bremen.de Olaf Sebelin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: