Closed 10xSebastian closed 6 years ago
Makes request & response available from within the whole interceptor instance which simplifies writing an interceptor.
request
response
def before_raw_request(request) def before_request(request) def after_request(request) def before_response(request) def after_response(response)
becomes
def before_raw_request def before_request def after_request def before_response def after_response
and response and request can be called within the whole interceptor instance.
Makes
request
&response
available from within the whole interceptor instance which simplifies writing an interceptor.becomes
and
response
andrequest
can be called within the whole interceptor instance.