tenfourfox/testing/web-platform/tests/eventsource/resources/status-error.py
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

5 lines
184 B
Python

def main(request, response):
status = (request.GET.first("status", "404"), "HAHAHAHA")
headers = [("Content-Type", "text/event-stream")]
return status, headers, "data: data\n\n"