Hello,
I want to access a original value in the response method (e.g. the flow.request.pretty_url), which I modify during the method request. So when I modify it, the original e.g. URL is lost and I can’t access it.
Example:
def request(flow: http.HTTPFlow) -> None:
original_value = flow.request.pretty_url
flow.request.url = "<other/url>"
def response(flow: http.HTTPFlow) -> None:
x = original_value