mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision 386d27678c48bf468b8d374e2ba718e32185a5b7
This commit is contained in:
parent
c24420ddbe
commit
dd79cdc697
32 changed files with 336 additions and 167 deletions
|
@ -11,9 +11,7 @@ def main(request, response):
|
|||
if token is not None:
|
||||
request.server.stash.put(token, "1")
|
||||
status = (401, 'Unauthorized')
|
||||
headers = [('WWW-Authenticate', 'Basic realm="test"'),
|
||||
('XHR-USER', expected_user_name),
|
||||
('SES-USER', session_user)]
|
||||
headers = [('WWW-Authenticate', 'Basic realm="test"')]
|
||||
return status, headers, 'FAIL (should be transparent)'
|
||||
else:
|
||||
if request.server.stash.take(token) == "1":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue