tor-browser

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

http-refresh.py (241B)


      1 from wptserve.utils import isomorphic_encode
      2 
      3 def main(request, response):
      4    time = isomorphic_encode(request.url_parts.query) if request.url_parts.query else b'0'
      5    return 200, [(b'Refresh', time), (b'Content-Type', b"text/html")], b''