summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/testdriver/file_upload.py
blob: 9c4dd75438454b852a1590018361ee682f1106df (plain)
1
2
def main(request, response):
    return b"PASS" if request.POST[b"file_input"].file.read() == b"File to upload\n" else b"FAIL"