mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision e91d7d8c9a1f14438e44000dcd05ce6e658e4ae5
This commit is contained in:
parent
242e7e2630
commit
1a3fdf7a13
567 changed files with 9823 additions and 2333 deletions
|
@ -1,6 +1,6 @@
|
|||
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")
|
||||
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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue