Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why would it be good to avoid passing around the request object?


Armin explains the request object here (http://flask.pocoo.org/docs/reqcontext/) and here (http://flask.pocoo.org/docs/quickstart/#id4), and the concept of "context locals" in detail here (http://werkzeug.pocoo.org/docs/local/).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: