__init__.py 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. """
  2. werkzeug.wrappers
  3. ~~~~~~~~~~~~~~~~~
  4. The wrappers are simple request and response objects which you can
  5. subclass to do whatever you want them to do. The request object contains
  6. the information transmitted by the client (webbrowser) and the response
  7. object contains all the information sent back to the browser.
  8. An important detail is that the request object is created with the WSGI
  9. environ and will act as high-level proxy whereas the response object is an
  10. actual WSGI application.
  11. Like everything else in Werkzeug these objects will work correctly with
  12. unicode data. Incoming form data parsed by the response object will be
  13. decoded into an unicode object if possible and if it makes sense.
  14. :copyright: 2007 Pallets
  15. :license: BSD-3-Clause
  16. """
  17. from .accept import AcceptMixin
  18. from .auth import AuthorizationMixin
  19. from .auth import WWWAuthenticateMixin
  20. from .base_request import BaseRequest
  21. from .base_response import BaseResponse
  22. from .common_descriptors import CommonRequestDescriptorsMixin
  23. from .common_descriptors import CommonResponseDescriptorsMixin
  24. from .etag import ETagRequestMixin
  25. from .etag import ETagResponseMixin
  26. from .request import PlainRequest
  27. from .request import Request
  28. from .request import StreamOnlyMixin
  29. from .response import Response
  30. from .response import ResponseStream
  31. from .response import ResponseStreamMixin
  32. from .user_agent import UserAgentMixin