summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/XMLHttpRequest/resources/auth2/auth.py
blob: 8b6682686c8709994a19ae430ed2120a047f9398 (plain)
1
2
3
4
5
6
7
8
9
10
import imp
import os

here = os.path.split(os.path.abspath(__file__))[0]

def main(request, response):
    auth = imp.load_source("", os.path.join(here,
                                            "..",
                                            "authentication.py"))
    return auth.main(request, response)