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

from wptserve.utils import isomorphic_decode

from tools.wpt.utils import load_source

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

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