servo/tests/wpt/web-platform-tests/xhr/resources/auth2/auth.py

12 lines
378 B
Python

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)