bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/26081] HttpURLConnection does not return body in error st


From: WBaer at gmx dot de
Subject: [Bug classpath/26081] HttpURLConnection does not return body in error stream on most errors.
Date: 5 Feb 2006 10:47:23 -0000


------- Comment #3 from WBaer at gmx dot de  2006-02-05 10:47 -------
Tested now for all response codes. For 4xx and 5xx response codes connect()
does
not throw any exceptions (unless there are real IO problems), getInputStream
throws IOException (for 404 *and* 410 its a FileNotFoundException) and 
getErrorStream is set always to the responsebody.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26081





reply via email to

[Prev in Thread] Current Thread [Next in Thread]