summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/range/resources/stash-take.py
blob: 6cf6ff585bf1462af1537448e8c5e72fd180879a (plain)
1
2
3
4
5
6
7
from wptserve.handlers import json_handler


@json_handler
def main(request, response):
    key = request.GET.first(b"key")
    return request.server.stash.take(key, b'/fetch/range/')