awips2/pythonPackages/werkzeug/docs/wsgi.rst
root 9bb8decbcf Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 133dc97f67 [formerly a02aeb236c] [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 9f19e3f712 [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 377dcd10b9 [formerly 3360eb6c5f]
Former-commit-id: 8e80217e59
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