class LintMiddleware:
Warns about common errors in the WSGI and HTTP behavior of the server and wrapped application. Some of the issues it checks are:
Error information is emitted using the warnings
module.
from werkzeug.middleware.lint import LintMiddleware app = LintMiddleware(app)
Parameters | |
app | The WSGI application to wrap. |
Method | __call__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | check_environ |
Undocumented |
Method | check_headers |
Undocumented |
Method | check_iterator |
Undocumented |
Method | check_start_response |
Undocumented |
Instance Variable | app |
Undocumented |
Undocumented
Parameters | |
*args:t.Any | Undocumented |
**kwargs:t.Any | Undocumented |
Returns | |
t.Iterable[ | Undocumented |
Undocumented
Parameters | |
status:str | Undocumented |
headers:t.List[ | Undocumented |
exc_info:t.Optional[ | Undocumented |
Returns | |
t.Tuple[ | Undocumented |