summaryrefslogtreecommitdiff
path: root/tests/access.wsgi
diff options
context:
space:
mode:
authorGraham Dumpleton <Graham.Dumpleton@gmail.com>2014-12-03 21:56:34 +1100
committerGraham Dumpleton <Graham.Dumpleton@gmail.com>2014-12-03 21:56:34 +1100
commitddd232c2767789054417eaef014d41d84d2e1cdc (patch)
tree69fbcf7d872a9ea5a0a593eb8f8cbcde8ed82baf /tests/access.wsgi
parentaacda116f2602f7f7a29cb22428db7961a775f9a (diff)
downloadmod_wsgi-ddd232c2767789054417eaef014d41d84d2e1cdc.tar.gz
Add --host-access-script to mod_wsgi-express. #47
Diffstat (limited to 'tests/access.wsgi')
-rw-r--r--tests/access.wsgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/access.wsgi b/tests/access.wsgi
new file mode 100644
index 0000000..a0ebfc3
--- /dev/null
+++ b/tests/access.wsgi
@@ -0,0 +1,3 @@
+def allow_access(environ, host):
+ print environ, host
+ return True