Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > 5c4f8358fd6fdc210fb0d926bd25802c > files > 201

python-werkzeug-doc-0.6.2-2.fc14.noarch.rpm

============
WSGI Helpers
============

.. module:: werkzeug

The following classes and functions are designed to make working with
the WSGI specification easier or operate on the WSGI layer.  All the
functionality from this module is available on the high-level
:ref:`Request/Response classes <wrappers>`.

You can import all these objects directly from :mod:`werkzeug`.


Iterator / Stream Helpers
=========================

These classes and functions simplify working with the WSGI application
iterator and the input stream.

.. autoclass:: ClosingIterator

.. autoclass:: FileWrapper

.. autoclass:: LimitedStream
   :members:

.. autofunction:: make_line_iter

.. autofunction:: wrap_file


Environ Helpers
===============

These functions operate on the WSGI environment.  They extract useful
information or perform common manipulations:

.. autofunction:: get_host

.. autofunction:: get_current_url

.. autofunction:: pop_path_info

.. autofunction:: peek_path_info

Convenience Helpers
===================

.. autofunction:: test_app

.. autofunction:: responder