Question: How do you solve the issue of Google Chrome downloading a file when you return a status code of 204 "meaning No Content". Chrome should not download a file when you specifically return a 204 status code.
Login to See the Rest of the Answer
Answer: I would like to know why this behavior happens in Chrome, however, if I had to give it a thought, I would conclude that Chrome would not know how to handle 204 Response code. If you handle the response message in a Call Back function Chrome doesn't download the file. However, you could work around it.