I'm using urlfetch from google app engine, but it keeps going to the redirected final page even though I use:
result = urlfetch.fetch(classUrl, payload=None, method=urlfetch.GET, headers={}, allow_truncated=False, follow_redirects=False)
E.g. if classUrl was a searched term in Google
(https://www.google.com/search?q=setInstanceFollowRedirects()+python&oq=setInstanceFollowRedirects()+python&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8)
it would redirect me to www.google.com
How do I stop this redirection? Thanks!