Pass the client request object to send_file() as wellx