BcryptMontoya
BcryptMontoya copied to clipboard
Way to get request in handleResponse or handleProxyResponse
It would be nice to have a way to get the original request in the handleProxyResponse and/or handleResponse methods.
Using the initiatingRequest()
may solve your problem
def handleResponse(response, annotations):
print(response.initiatingRequest())
return response, annotations
def handleProxyResponse(response, annotations):
print(response.initiatingRequest())
return response, annotations