commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bug #12815] URL.openStream doesn't handle 302 and 404 HTTP


From: Julian Scheid
Subject: [commit-cp] [bug #12815] URL.openStream doesn't handle 302 and 404 HTTP response codes properly
Date: Tue, 26 Apr 2005 12:05:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.7) Gecko/20050421 Firefox/1.0.3 (Debian package 1.0.3-2)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12815>

                 Summary: URL.openStream doesn't handle 302 and 404 HTTP
response codes properly
                 Project: classpath
            Submitted by: julian
            Submitted on: Tue 04/26/2005 at 12:05
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

For HTTP URLs that return response code 302 (Moved Temporarily),
URL.openStream should follow the redirect to the new location. Currently it
returns null.

For HTTP URLs that return response code 404 (Not Found), URL.openStream
should raise a FileNotFoundException. Currently it returns a stream with the
error document as if it received the response code 200 (OK).







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12815>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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