mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision 4984b190341b535c645729b8f99247aace0022fe
This commit is contained in:
parent
9ca6768a56
commit
d61756ac9d
73 changed files with 1198 additions and 1135 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue