I have a section of my website that allows people to download a file. I don't want the file to display in the browser so I force it to be an attachment. Right now I set the following header properties:
-type => $types->mimeTypeOf($path),
-attachment => $filename,
However, I noticed that when downloading from an non-internal machine (because on the local network it happens to fast for me to notice) that the file download/browser will say x bytes of unknown completed. Is there a way for me to specifc how my bytes in the file so that the browser will be able to calculate the estimated time.
I looked in the POD for CGI::Application but I didn't see anything.
Thanks in advance!