mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision e8bfc205e36ad699601212cd50083870bad9a75d
This commit is contained in:
parent
65dd6d4340
commit
ccdb0a3458
1428 changed files with 118036 additions and 9786 deletions
|
@ -0,0 +1,13 @@
|
|||
import time
|
||||
|
||||
def main(request, response):
|
||||
delay = float(request.GET.first("ms", 1000)) / 1E3
|
||||
count = int(request.GET.first("count", 50))
|
||||
time.sleep(delay)
|
||||
response.headers.set("Transfer-Encoding", "chunked")
|
||||
response.write_status_headers()
|
||||
time.sleep(delay);
|
||||
for i in xrange(count):
|
||||
response.writer.write_content("a\r\nTEST_CHUNK\r\n")
|
||||
time.sleep(delay)
|
||||
response.writer.write_content("garbage")
|
Loading…
Add table
Add a link
Reference in a new issue