tor-browser

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

css.py (355B)


      1 def main(request, response):
      2  response.add_required_headers = False
      3  if b"content_type" in request.GET:
      4    response.writer.write_header(b"Content-Type", request.GET.first(b"content_type"))
      5  if b"nosniff" in request.GET:
      6  	response.writer.write_header(b"x-content-type-options", b"nosniff")
      7  response.writer.write_content(u"body { background:red }")