tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

script-set-dpr-header.py (186B)


      1 def main(request, response):
      2    headers = [(b"Content-Type", b"text/javascript")]
      3    body = u'dprHeader = "%s";' % request.headers.get(b'sec-ch-dpr', '')
      4    return 200, headers, body