I am currently using the python requests
module which can easily show the response's redirect history:
>>> r = requests.get('http://github.com')
>>> r.history
[<Response [301]>]
I wish to know, if it is also possible to view this in jQuery by Ajax? In addition, is it possible to disable the redirection?