Correct Answer : @app.middleware("http")
Explanation : To create a middleware you use the decorator @app.middleware("http").
@app.middleware("http")