mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 06:08:24 +02:00
Automatic update from web-platform-testsAllow range headers to pass through a service worker (#10348) Tests for https://github.com/whatwg/fetch/pull/560 -- wpt-commits: fb6d16d92af29262b6137b79e61f0c4b136c6ac1 wpt-pr: 10348
7 lines
182 B
Python
7 lines
182 B
Python
from wptserve.handlers import json_handler
|
|
|
|
|
|
@json_handler
|
|
def main(request, response):
|
|
key = request.GET.first("key")
|
|
return request.server.stash.take(key, '/fetch/range/')
|