Is there a way to return a response (from make_response() object or similar) with certain properties so that it doesn\'t render the page again and doesn\'t do a
make_response()
You are responding to a request, your HTTP server must return something. The HTTP 'empty response' response is 204 No Content:
204 No Content
return ('', 204)
Note that returning a file to the browser is not an empty response, just different from a HTML response.