Update web-platform-tests to revision 1cb9daef513ee0c7e82a6689a6248946d0c580c0

This commit is contained in:
WPT Sync Bot 2020-06-30 08:24:39 +00:00
parent b9404fcd48
commit f397fef6e3
159 changed files with 2043 additions and 673 deletions

View file

@ -1,3 +1,5 @@
from six import int2byte
def main(request, response):
response.headers.set("Content-Type", "text/plain;charset=" + request.GET.first("label"))
response.content = "".join(chr(byte) for byte in range(255))
response.headers.set(b"Content-Type", b"text/plain;charset=" + request.GET.first(b"label"))
response.content = b"".join(int2byte(byte) for byte in range(255))