mirror of
https://github.com/servo/servo
synced 2026-05-15 11:26:50 +02:00
7 lines
311 B
Python
7 lines
311 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("X-XSS-Protection", "0")
|
|
response.headers.set("Content-Type", "text/html")
|
|
response.content = request.GET.first("content")
|