Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4906

Http Headers should ignore the case for "User-Agent"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.9, 2.6.6, 2.7.3
    • 2.7.4, 2.6.7, 3.0.0-milestone1
    • Transports
    • None
    • Unknown

    Description

      Headers is using below code to setup the User-Agent header.

      if (!connection.getRequestProperties().containsKey("User-Agent")) {
      connection.addRequestProperty("User-Agent", Version.getCompleteVersionString());
      }
      

      As you know, http header should ignore the case, the fix should help CXF avoid sending more than one "User-Agent" header.

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: