remove process_response from LocationMiddleware class