Jump to content
Ketarin forum

Ketarin is not using the "Location" header of a 302 response, as it is expected to


TerDale
 Share

Recommended Posts

Hi,

 

While trying to bypass the license agreement to download the JDK from Oracle pages (see https://ketarin.org/...ent-for-jrejdk/), I finally figured out that Ketarin is ignoring the "Location" header provided in a 302 error response. As shown in attached network capture, it is instead re-trying the original URL twice, before to give up.

 

I face this using an "httpx" URL as a cookie is needed. However, I confirmed that, even with a regular "http" URL, the "Location" header on 302 is not taken into account by Ketarin.

 

I do think that this is the last issue preventing my Oracle JDK app profile to work (check above-mentioned thread for details).

 

Also in attached ZIP are the Ketarin log file, and my simplest app profile (just for testing) highlighting this issue.

 

Thanks in advance

 

PS : as mentioned in the referred thread, something else puzzles me in this capture: one can see that, after teh two first 302 error, Ketarin is first getting "/errors/download-fail-1505220.html", before trying again the original URL, but can't understand where it find this error URL from. Looks like it is inferred from the 302, but the three 302 errors are stating "Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-7u6-windows-x64.exe" so...!?

Ketarin-OracleJDK.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.