diff options
Diffstat (limited to 'test/wpt/tests/xhr/resources/auth1/auth.py')
-rw-r--r-- | test/wpt/tests/xhr/resources/auth1/auth.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/wpt/tests/xhr/resources/auth1/auth.py b/test/wpt/tests/xhr/resources/auth1/auth.py new file mode 100644 index 0000000..db4f7bc --- /dev/null +++ b/test/wpt/tests/xhr/resources/auth1/auth.py @@ -0,0 +1,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) |