I am trying to find a way to get the response location using python requests. When I use fiddler or use python requests the returned headers don't include the location it came from. but looking at the same request in my browser it shows the response location. anyway of doing this? thanks
python requests response location
3.6k Views Asked by jason translol At
2
Here's an example using
urllib2
, but I don't think you can do it withrequests
:Here's more info in the following answer: getting value of location header using python urllib2.