[iOS] HLS streams disappear from Now Playing when paused on the lock screen
[WebKit-https.git] / LayoutTests / http / wpt / prefetch / resources / main-resource-cross-origin-vary-cookie.py
1 def main(request, response):
2     headers = [("Content-Type", "text/html"), ("Vary", "Cookie")]
3
4     document = """
5 <!DOCTYPE html>
6 <script>
7   function test() {
8     var result = '%(cookie)s';
9     window.opener.postMessage(result, '*');
10   }
11 </script>
12 <body onload="test()">
13 """
14
15     return headers, document % {'cookie': request.headers.get("Cookie", "") }