echo.py (316B)
1 def main(request, response): 2 # Without X-XSS-Protection to disable non-standard XSS protection the functionality this 3 # resource offers is useless 4 response.headers.set(b"X-XSS-Protection", b"0") 5 response.headers.set(b"Content-Type", b"text/html") 6 response.content = request.GET.first(b"content")