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.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M15
    • Component/s: None
    • Labels:
      None
    • Environment:
      All
    • Patch Info:
      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
          Li Jing Qin
        2. HARMONY-6561.v2.diff
          8 kB
          Li Jing Qin
        3. HARMONY-6561.diff
          8 kB
          Li Jing Qin

          Activity

            People

            • Assignee:
              hindessm Mark Hindess
              Reporter:
              littlee Li Jing Qin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: