Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6561

[classlib][luni]HttpConnection should not throw a IOException if the server return 401 but does not provide a WWW-Authenticate header.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M15
    • None
    • None
    • All
    • Patch Available

    Description

      When the server return a 401(UNAUTHORIZED), it supposed to provide a "WWW-Authenticate" header. But if it is not provided, we should not throw a IOException. See the details in testcase.

      Attachments

        1. HARMONY-6561.v3.diff
          7 kB
          Charles Lee
        2. HARMONY-6561.v2.diff
          8 kB
          Charles Lee
        3. HARMONY-6561.diff
          8 kB
          Charles Lee

        Activity

          People

            hindessm Mark Hindess
            littlee Charles Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: