mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
6 lines
316 B
Python
6 lines
316 B
Python
def main(request, response):
|
|
# Without X-XSS-Protection to disable non-standard XSS protection the functionality this
|
|
# resource offers is useless
|
|
response.headers.set(b"X-XSS-Protection", b"0")
|
|
response.headers.set(b"Content-Type", b"text/html")
|
|
response.content = request.GET.first(b"content")
|