    def __init__(self, app):
        """Create the new middleware.

        Args:
            app: a flask application
        """
        self.app = app
Create the new middleware.

Args:
app: a flask application
bigchaindb/web/strip_content_type_middleware.py