Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4146566

URLConnection.getHeaderField(String) doc should say "no multi headers"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.1.5
    • docs
    • beta
    • generic
    • generic



      Name: diC59631 Date: 06/08/98


      URLConnection.getHeaderField(String), if called on
      a connection that sets the same header multiple
      times with possibly different values (as can happen
      e.g. with HTTP/1.1 "Warning" headers), will only
      return the last value. This is fine, as you can iterate
      through the headers by number, but the fact should be
      briefly noted in the documentation.
      (Review ID: 30727)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: