mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +01:00
Update web-platform-tests to revision e91d7d8c9a1f14438e44000dcd05ce6e658e4ae5
This commit is contained in:
parent
242e7e2630
commit
1a3fdf7a13
567 changed files with 9823 additions and 2333 deletions
|
@ -1,3 +1,5 @@
|
|||
from wptserve.utils import isomorphic_encode
|
||||
|
||||
def main(request, response):
|
||||
time = request.url_parts.query if request.url_parts.query else '0'
|
||||
return 200, [('Refresh', time), ('Content-Type', "text/html")], ''
|
||||
time = isomorphic_encode(request.url_parts.query) if request.url_parts.query else b'0'
|
||||
return 200, [(b'Refresh', time), (b'Content-Type', b"text/html")], b''
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import time
|
||||
|
||||
def main(request, response):
|
||||
time = request.url_parts.query if request.url_parts.query else '0'
|
||||
return 200, [['Content-Type', 'text/html']], '<meta http-equiv=refresh content=%s>' % time
|
||||
time = request.url_parts.query if request.url_parts.query else u'0'
|
||||
return 200, [[b'Content-Type', b'text/html']], u'<meta http-equiv=refresh content=%s>' % time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue