Can be overridden in order to modify the response object before it’s sent to the WSGI server. By default this will call all the
Changed in version 0.5: As of Flask 0.5 the functions registered for after request execution are called in reverse order of registration.
Parameters: response – a
Returns: a new response object or the same, has to be an instance of