Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
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
758
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
563
posted 14 years ago by manatlan