First I am sending the requested file from the server to the client and after that I want to send the computed sha of the file from the server to the client, so that the cli
You should redesign a bit how your app works: