Update web-platform-tests to revision 4984b190341b535c645729b8f99247aace0022fe

This commit is contained in:
WPT Sync Bot 2018-12-17 21:06:57 -05:00
parent 9ca6768a56
commit d61756ac9d
73 changed files with 1198 additions and 1135 deletions

View file

@ -33,7 +33,11 @@ def main(request, response):
elif arg.startswith("status:"):
code = int(urllib.unquote(arg[7:]))
response.writer.write_status(code)
statusSent = True
if code // 100 == 1:
# Terminate informational 1XX responses with an empty line.
response.writer.end_headers()
else:
statusSent = True
elif arg == "flush":
response.writer.flush()