How can I make my binary file is served as binary, not text when user choose "Save Linked File As..." in Safari?
Posted
by
Eonil
on Pro Webmasters
See other posts from Pro Webmasters
or by Eonil
Published on 2011-05-02T06:54:57Z
Indexed on
2011/06/20
16:39 UTC
Read the original article
Hit count: 292
I'm serving a binary file (.IPA) with Ubuntu/Apache 2.2
.
When I have chosen Save Linked File As...
in Safari, it says it's text file. And it guides me to add .txt
extension. However it does not add any extra extension when I download it just clicking link.
I added line AddType application/octet-stream .ipa
in apache configuration file. I don't know what's wrong with this. Is this a bug of Safari or my misconfiguration? (1) If it caused by bug, how can I avoid this? (2) Or if it caused by misconfiguration, what should I do?
© Pro Webmasters or respective owner