United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7037336 Downloading of resources with redirect URL should remember final URL
JDK-7037336 : Downloading of resources with redirect URL should remember final URL

Details
Type:
Bug
Submit Date:
2011-04-18
Status:
Closed
Updated Date:
2013-03-01
Project Name:
JDK
Resolved Date:
2011-05-25
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u12,7
Fixed Versions:

Related Reports
Backport:
Duplicate:

Sub Tasks

Description
Current when resources are downloaded from URL with directed, they are stored in cache or in temporary storage without memory of the final location where the resource came from.  This information is needed for setup accurate codesource.

                                    

Comments
EVALUATION

The main changes is when download of resource with redirect url to cache we create additional "redirect cache entry" with "Location" header field pointing to the final URL cache entry.  For caching disabled case, we also remember the final URL through a static hashtable.
                                     
2011-04-21
regression_test_src: http://sqe-hgi.us.oracle.com/hg/index.cgi/8/deployment_int_ws/file/910c712ab4c4/new_framework/tests/plugin/ResourceRedirecting/src/ResourceRedirectingTest.java
                                     
2013-03-01



Hardware and Software, Engineered to Work Together