There are times when a client needs to download a large file from my web server. The file is a zip file, about 100 mb in size.
When I look at the web logs, for some reason I see this file request take place in segments of 6 to 7 mb in size, the first generates a 200 code in the logs but the rest are 206. The end result is that maybe half the file is eventually downloaded this way (if I add up all the bytes sent). The clients usually are using Chrome. I *think* I've seen better luck with Firefox, but I can't be sure.
In the logs, for the first or initial request for the file, I see this:
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng
I've looked at my server's mime list, I don't exactly see a mime-type for "zip" files, but I did just create one today (application/zip), not sure if it will make a difference. When it comes to this 206 code, I usually see it when clients request PDF files, I'm guessing that as they view a pdf file in their browser, the browser will request more chunks of the file as the user reads into the document. But I don't know why the browser is downloading ZIP files in chunks, unless again it was my (missing?) mime-type specifically for zip files.
Any ideas or insight here?