summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/service-workers/resources/fetch_video.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/service-workers/resources/fetch_video.py')
-rw-r--r--testing/web-platform/mozilla/tests/service-workers/resources/fetch_video.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/web-platform/mozilla/tests/service-workers/resources/fetch_video.py b/testing/web-platform/mozilla/tests/service-workers/resources/fetch_video.py
index 3945506f30..0d2967b731 100644
--- a/testing/web-platform/mozilla/tests/service-workers/resources/fetch_video.py
+++ b/testing/web-platform/mozilla/tests/service-workers/resources/fetch_video.py
@@ -2,11 +2,11 @@ import os
def main(request, response):
- filename = os.path.join(request.doc_root, "media", "2x2-green.ogv")
+ filename = os.path.join(request.doc_root, "media", "2x2-green.webm")
body = open(filename, "rb").read()
length = len(body)
headers = [
- (b"Content-Type", b"video/ogg"),
+ (b"Content-Type", b"video/webm"),
(b"Accept-Ranges", b"bytes"),
(b"Content-Length", b"%d" % length),
(b"Content-Range", b"bytes 0-%d/%d" % (length - 1, length)),