awips2/pythonPackages/werkzeug/docs/wsgi.rst
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

52 lines
1 KiB
ReStructuredText
Executable file

============
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