Warning
This module is deprecated. The webapp2.WSGIApplication class is now thread-safe by default when webapp2_extras.local is available.
A WSGI-compliant application.
Registers the global variables for app and request.
If webapp2_extras.local is available the app and request class attributes are assigned to a proxy object that returns them using thread-local, making the application thread-safe. This can also be used in environments that don’t support threading.
If webapp2_extras.local is not available app and request will be assigned directly as class attributes. This should only be used in non-threaded environments (e.g., App Engine Python 2.5).
Parameters: |
|
---|