blob: ddb0adcbe6ba9848ffda881033450a15c917e1db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import config
def redirect(target):
return ["", [('Content-Type','text/html'), ("Location", target)], "302 Redirect"]
def ensure_user(name):
# TODO
return
def is_user(name):
# TODO
return False
|