harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Jing Qin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6561) [classlib][luni]HttpConnection should not throw a IOException if the server return 401 but does not provide a WWW-Authenticate header.
Date Mon, 28 Jun 2010 09:24:50 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883080#action_12883080
] 

Li Jing Qin commented on HARMONY-6561:
--------------------------------------



Agree. The response is complete. I think classlib should give the right to
user to deal with this situation.



Sorry about that. It seems I missed the port "println", which is supposed to
be deleted.




-- 
Yours sincerely,
Charles Lee


> [classlib][luni]HttpConnection should not throw a IOException if the server return 401
but does not provide a WWW-Authenticate header.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6561
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6561
>             Project: Harmony
>          Issue Type: Bug
>         Environment: All
>            Reporter: Li Jing Qin
>         Attachments: HARMONY-6561.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message