Update base.py

removed flask.response