Complete the code to import the Flask-Compress extension.
from flask_compress import [1]
The correct class to import from flask_compress is Compress.
Complete the code to create a Flask app instance.
app = [1](__name__)To create a Flask app, you call the Flask class with __name__.
Fix the error in initializing Flask-Compress with the app.
compress = Compress()
compress.[1](app)The method to initialize the extension with the app is init_app.
Fill both blanks to configure Flask-Compress to compress responses larger than 500 bytes.
app.config['COMPRESS_MIN_SIZE'] = [1] compress = Compress() compress.[2](app)
Set COMPRESS_MIN_SIZE to 500 and initialize with init_app.
Fill all three blanks to create a Flask app, configure Flask-Compress, and initialize it.
from flask import Flask from flask_compress import [1] app = [2](__name__) app.config['COMPRESS_ALGORITHM'] = '[3]' compress = Compress() compress.init_app(app)
Import Compress, create app with Flask, and set compression algorithm to gzip.
