response 

Send to Kindle
home » snippets » python » tipfy » response



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:

See werkzeug.wrappers.BaseResponse