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 Bug
    • Status: Closed
    • Priority: Major 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.

      1. HARMONY-6561.diff
        8 kB
        Li Jing Qin
      2. HARMONY-6561.v2.diff
        8 kB
        Li Jing Qin
      3. HARMONY-6561.v3.diff
        7 kB
        Li Jing Qin

        Activity

        Li Jing Qin created issue -
        Li Jing Qin made changes -
        Field Original Value New Value
        Attachment HARMONY-6561.diff [ 12448171 ]
        Li Jing Qin made changes -
        Attachment HARMONY-6561.v2.diff [ 12448193 ]
        Li Jing Qin made changes -
        Attachment HARMONY-6561.v3.diff [ 12448370 ]
        Mark Hindess made changes -
        Assignee Mark Hindess [ hindessm ]
        Mark Hindess made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.0M15 [ 12315054 ]
        Resolution Fixed [ 1 ]
        Li Jing Qin made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development