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

Contribute BasicHeader override of equals() and hashCode()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0-alpha2
    • 5.0-alpha2
    • Contrib, HttpCore
    • None
    • All

    Description

      When removing headers from a HeaderGroup, the header is only removed if the header you are trying to remove is an object in the header list. It seems it would be better if headers were removed that matched the name and value of one of the objects in the list. To accomplish this, I have overridden the equals and hashCode methods in BasicHeader.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lewijw John Lewis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: