Links
- See
class Response
in app.py - Wiki Tutorial
Notes
See werkzeug.wrappers.BaseResponse
Response in app.py
class Response(werkzeug.wrappers.Response): """A response object with default mimetype set to ``text/html``.""" default_mimetype = 'text/html'
werkzeug.werkzeug.Response
is
class werkzeug.wrappers.Response(response=None, status=None, headers=None, mimetype=None, content_type=None, direct_passthrough=False)
Full featured response object implementing the following mixins:
- ETagResponseMixin for etag and cache control handling
- ResponseStreamMixin to add support for the stream property
- CommonResponseDescriptorsMixin for various HTTP descriptors
- WWWAuthenticateMixin for HTTP authentication support