JDK-8203882 : HttpClient throws IOException when receiving 401/407 with no WWW-Authenticate/Proxy-Authenticate header
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 10,11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-05-28
  • Updated: 2018-05-31
  • Resolved: 2018-05-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11Fixed
Related Reports
Relates :  
Description
This exception is not very helpful, and probably should not be thrown in the case where the authentication is handled by user code.
Comments
Fixed in sandbox, http-client-branch Changeset: 54e7acad0058 Author: dfuchs Date: 2018-05-31 17:13 +0100 URL: http://hg.openjdk.java.net/jdk/sandbox/rev/54e7acad0058 http-client-branch: HttpClient throws IOException when receiving 401/407 with no WWW-Authenticate/Proxy-Authenticate header 8203882: HttpClient throws IOException when receiving 401/407 with no WWW-Authenticate/Proxy-Authenticate header Reviewed-by: chegar
31-05-2018