mirror of
https://github.com/servo/servo.git
synced 2025-07-03 05:23:38 +01:00
Update web-platform-tests to revision b624f9b794b1fbc6672fb744bb0ed18819be4d44
This commit is contained in:
parent
dfa78986a6
commit
a68b59d35a
41 changed files with 448 additions and 82 deletions
|
@ -31,9 +31,9 @@ def main(request, response):
|
|||
|
||||
cors = request.headers.get("origin", "no")
|
||||
|
||||
cookie = request.cookies.first(id, "no")
|
||||
|
||||
line = 'cors = ' + cors + ' | cookie = ' + cookie.value;
|
||||
cookie = request.cookies.first(id, None)
|
||||
cookie_value = cookie.value if cookie is not None else "no"
|
||||
line = 'cors = ' + cors + ' | cookie = ' + cookie_value;
|
||||
|
||||
data = request.server.stash.take(id)
|
||||
if data is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue