5afae986a0
Response middleware are useful to apply some post-process information, just before send to the user. For example: Add some HTTP headers (security headers, for example), remove "Server" banner (for security reasons) or cookie management. The change is very very simple: although an "request" middleware has produced any response, we'll even apply the response middlewares. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
blueprints.py | ||
config.py | ||
cookies.py | ||
exceptions.py | ||
log.py | ||
request.py | ||
response.py | ||
router.py | ||
sanic.py | ||
server.py | ||
static.py | ||
utils.py | ||
views.py |