summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/background-fetch/resources/upload.py
blob: 4c421c7d37ba588f41ba4e6d26448e888ba65158 (plain)
1
2
3
# Simply returns the request body to check if the upload succeeded.
def main(request, response):
    return 200, [(b"Content-Type", request.headers[b'content-type'])], request.body