OLD | NEW |
(Empty) | |
| 1 def main(request, response): |
| 2 outcome = request.GET.first("outcome", "f") |
| 3 type = request.GET.first("type", None) |
| 4 |
| 5 content = "/* nothing to see here */" |
| 6 |
| 7 response.add_required_headers = False |
| 8 response.writer.write_status(200) |
| 9 response.writer.write_header("x-content-type-options", "nosniff") |
| 10 response.writer.write_header("content-length", len(content)) |
| 11 if(type != None): |
| 12 response.writer.write_header("content-type", type) |
| 13 response.writer.end_headers() |
| 14 |
| 15 response.writer.write(content) |
OLD | NEW |