Profile
Achievement
manatlan's Recent SnippetsTagged python
- All /
Not very secure, but very handy ...
Use like that :
app = your_wsgi_app()
app = ControlAccess( app, "your_password")
httpserve( app ) # wsgi server
0
868
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
656
posted 15 years ago by manatlan