Revision eb9f8a917a751b5bd2e4ed86840eac8b5c4445f2 authored by Brian Birtles on 15 March 2018, 06:57:09 UTC, committed by Brian Birtles on 15 March 2018, 06:57:09 UTC
This patch also drops the test that an AnimationEffectTiming object is created in the appropriate realm since it is no longer the case that a separate timing object is created.
1 parent df2153f
access-control-basic-cors-safelisted-request-headers.py
def main(request, response):
response.headers.set("Cache-Control", "no-store")
# This should be a simple request; deny preflight
if request.method != "POST":
response.status = 400
return
response.headers.set("Access-Control-Allow-Credentials", "true")
response.headers.set("Access-Control-Allow-Origin", request.headers.get("origin"))
for header in ["Accept", "Accept-Language", "Content-Language", "Content-Type"]:
value = request.headers.get(header)
response.content += header + ": " + (value if value else "<None>") + '\n'
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...