Thursday 31 December 2015

How do I get the header for a redirected URL without the content?

Let's say I have some website http://mysite.com that generates a new URL to redirect to based on the time of day. How can I get that redirect URL without downloading the content of it? Currently I'm using the request library and it works, but it has to download the entire content of the page every time even though I'm not using it.Thanks!

Submitted December 31, 2015 at 03:26PM by CJ-Johnson

No comments:

Post a Comment