How can I check the status code of a request? I want to check what kind of redirects were used to access a page.
For response objects I would use *response.status_code*
I might be wrong but there is no such thing as incoming request status code, application doing requests in case of redirect gets 302 from initial request checks location and do another request. And history of incoming request in shape of thing like "traceroute"  just don't exists in HTTP.
How to determine status code of request