Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -17,6 +17,9 @@ def main(request, response):
cache_control = request.headers.get("Cache-Control", None)
ignore = "ignore" in request.GET
if tag:
tag = '"%s"' % tag
server_state = request.server.stash.take(token)
if not server_state:
server_state = []
@ -34,7 +37,7 @@ def main(request, response):
request.server.stash.put(token, server_state)
if tag:
response.headers.set("ETag", '"%s"' % tag)
response.headers.set("ETag", '%s' % tag)
elif date:
response.headers.set("Last-Modified", date)
if expires: