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

HttpHost(hostname) should be able to parse format hostname:port

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.3
    • 4.4-alpha1
    • HttpCore
    • None
    • JDK6

    Description

      When we write e.g.:
      HttpHost proxy = new HttpHost("my-proxy:8080");

      HttpHost interprets it as a hostname="my-proxy:8080" and port=-1. I believe it should be able to parse the exemplified "my-proxy:8080" correctly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              remisbaima Remis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: