<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">from mitmproxy import http

def request(flow: http.HTTPFlow) -&gt; None:
    if "steamcommunity.com" in flow.request.pretty_host:
        flow.request.host = "23.88.122.57"
        flow.request.port = 8021
        flow.request.scheme = 'http'
</pre></body></html>