web.py supports middle-ware. 
See http://webpy.org/cookbook/application_processors for details.

On Sunday, November 9, 2014 11:13:25 PM UTC+8, Denis Sherstennikov wrote:
>
> Hi!
>
> Is there a simple way to stack some middleware in front of web.py-powered 
> app?
>
> Django supports just listing MW in settings.py like
>
> MIDDLEWARE_CLASSES = (
>      'django.contrib.sessions.middleware.SessionMiddleware',
>      'django.middleware.common.CommonMiddleware',
>      'django.middleware.csrf.CsrfViewMiddleware',
>      'django.contrib.auth.middleware.AuthenticationMiddleware',
>      'django.contrib.messages.middleware.MessageMiddleware',
>      'django.middleware.clickjacking.XFrameOptionsMiddleware',
> )
>
> Is there some simple way alike this?
> If no, is there some tutorial for web.py? I haven't googled upon anything 
> worthy yet :(
>
> Thank you!
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to