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: 9 Feb 2006 21:22:26 -0000


------- Comment #4 from WBaer at gmx dot de  2006-02-09 21:22 -------
Fixed the following commit:

2006-02-09  Wolfgang Baer  <WBaer at gmx.de>

        Fixes bug #26081
        * gnu/java/net/protocol/http/HTTPURLConnection.java:
        (isRedirect): Removed, moved to Response.java.
        (connect): If error condition redirect responseSink to errorSink.
        (getInputStream): If error condition throw IOException, for the error
        codes 404 and 410 throw a FileNotFoundException.        
        * gnu/java/net/protocol/http/Response.java (isError): New method.
        (isRedirect): New method, moved from HTTPURLConnection.java.

Committed patch can be found here:

http://developer.classpath.org/pipermail/classpath-patches/2006-February/000303.html


-- 


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





reply via email to

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