Update web-platform-tests to revision 4af6af604800559d2c58cf3561621ae43e28aaa8

This commit is contained in:
WPT Sync Bot 2020-06-16 08:20:51 +00:00
parent 19c1f72eb2
commit 1a24e35f18
150 changed files with 3701 additions and 419 deletions

View file

@ -3,14 +3,14 @@ import time
from six.moves import xrange
def main(request, response):
delay = float(request.GET.first("ms", 500)) / 1E3
count = int(request.GET.first("count", 50))
delay = float(request.GET.first(b"ms", 500)) / 1E3
count = int(request.GET.first(b"count", 50))
# Read request body
request.body
time.sleep(delay)
response.headers.set("Content-type", "text/plain")
response.headers.set(b"Content-type", b"text/plain")
response.write_status_headers()
time.sleep(delay)
for i in xrange(count):
response.writer.write_content("TEST_TRICKLE\n")
response.writer.write_content(u"TEST_TRICKLE\n")
time.sleep(delay)