diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-06 20:35:44 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-06 20:35:44 -0400 |
| commit | 6c3f78b0a5563a642b98f7a0eb01d1854c45e6b0 (patch) | |
| tree | 57c0fb799ed585a8c2c5af609a297fdeccc62d8f /docs/glossary.rst | |
| parent | 37699448a389c2712f262c574e5115aaab27adda (diff) | |
| parent | 18a99ae15e7f36cd21da6e2d2e70d61d1733bf30 (diff) | |
| download | pyramid-6c3f78b0a5563a642b98f7a0eb01d1854c45e6b0.tar.gz pyramid-6c3f78b0a5563a642b98f7a0eb01d1854c45e6b0.tar.bz2 pyramid-6c3f78b0a5563a642b98f7a0eb01d1854c45e6b0.zip | |
Merge branch 'handlerchanges'
Diffstat (limited to 'docs/glossary.rst')
| -rw-r--r-- | docs/glossary.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst index c6705fdc5..ccb62bbc8 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -917,3 +917,14 @@ Glossary PyPy is an "alternative implementation of the Python language":http://pypy.org/ + tween + A bit of code that sits between the Pyramid router's main request + handling function and the upstream WSGI component that uses + :app:`Pyramid` as its 'app'. A tween may be used by Pyramid framework + extensions, to provide, for example, Pyramid-specific view timing + support bookkeeping code that examines exceptions before they are + returned to the upstream WSGI application. Tweens behave a bit like + :mod:`WSGI` 'middleware' but they have the benefit of running in a + context in which they have access to the Pyramid :term:`application + registry` as well as the Pyramid rendering machinery. + |
