<p>I need to check whether a page is being redirected or not without actually downloading the content. I just need the final URL. What's the best way of doing this is Python?
Thanks!</p>

When you open the URL with
```
urllib2
```
, and you're redirected, you get a status 30x for redirection.  Check the info to see the location to which you're redirected.  You don't need to read the page to read the
```
info()
```
that's part of the response.