Profile
Achievement
manatlan's Recent Snippets
- All /
Not very secure, but very handy ...
Use like that :
app = your_wsgi_app()
app = ControlAccess( app, "your_password")
httpserve( app ) # wsgi server
0
881
posted 14 years ago by manatlan
method 'E' (in fact a decorator) catch the execption and return it, so it's possible to use the good old assert statement.
0
666
posted 15 years ago by manatlan