Bug 8660

Summary: Importing absolute URL resources doesn't behave as spec if code is other than 200.
Product: Taglibs Reporter: Ryan Lubke <Ryan.Lubke>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Severity: critical    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Ryan Lubke 2002-04-30 14:50:43 UTC
After the Fix for 8650, I've discovered that if a resource being imported via
an absolute URL sends a 302 (redirect) that the redirect is followed.

Additionally, in the case of, say, 410, a FileNotFoundException is returned by
the HttpURLConnection.  In the case of a 100, the status code return by
HttpUrlConnect ion is '-1'
Comment 1 Shawn Bayern 2002-05-01 03:41:07 UTC
Not a bug - spec clarified.