Automatic update from web-platform-tests Python 3: port some tests in common and infrastructure (#24482) -- wpt-commits: 924cdb5f242893239b3835a5c78a5a7a8deec240 wpt-pr: 24482
7 lines
316 B
Python
7 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")
|