diff options
Diffstat (limited to 'testing/web-platform/tests/service-workers/service-worker/resources/mime-type-worker.py')
-rw-r--r-- | testing/web-platform/tests/service-workers/service-worker/resources/mime-type-worker.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/service-workers/service-worker/resources/mime-type-worker.py b/testing/web-platform/tests/service-workers/service-worker/resources/mime-type-worker.py new file mode 100644 index 0000000000..92a602e634 --- /dev/null +++ b/testing/web-platform/tests/service-workers/service-worker/resources/mime-type-worker.py @@ -0,0 +1,4 @@ +def main(request, response): + if b'mime' in request.GET: + return [(b'Content-Type', request.GET[b'mime'])], b"" + return [], b"" |