summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/xhr/resources/auth9/auth.py
blob: db4f7bc4c9fee9a31ff07a9708d6f6299f716c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import imp
import os

from wptserve.utils import isomorphic_decode

here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))

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