diff options
Diffstat (limited to 'testing/web-platform/tests/xhr/resources/auth1')
-rw-r--r-- | testing/web-platform/tests/xhr/resources/auth1/auth.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/xhr/resources/auth1/auth.py b/testing/web-platform/tests/xhr/resources/auth1/auth.py new file mode 100644 index 0000000000..3797aaa52e --- /dev/null +++ b/testing/web-platform/tests/xhr/resources/auth1/auth.py @@ -0,0 +1,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) |