mirror of
https://github.com/servo/servo.git
synced 2025-10-12 14:30:25 +01:00
Update web-platform-tests to revision 1cb9daef513ee0c7e82a6689a6248946d0c580c0
This commit is contained in:
parent
b9404fcd48
commit
f397fef6e3
159 changed files with 2043 additions and 673 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue