getInputStream() method of sun.net.www.protocol.http.HttpURLConnection throws
a FileNotFoundException if the webserver returns a 401 (> 400) response (if
the requested URL did not end with an .html extension).
This causes a problem for .asp files which are protected.
test case: Try logging into www.fool.com site.
a FileNotFoundException if the webserver returns a 401 (> 400) response (if
the requested URL did not end with an .html extension).
This causes a problem for .asp files which are protected.
test case: Try logging into www.fool.com site.
- duplicates
-
JDK-4160499 sun.net.www.protocol.http.HttpURLConnection error handling
- Resolved