Use timeout from the requests' session attribute in the methods
In #28741 (moved) we added HTTP headers to send in every request. The session object was refactored to also add proxies and timeout. But requests doesn't use a timeout attribute, it can only be passed as a method argument.