What MIME type should I put for Windows shortcut file (.URL)
If I want to have a Windows shortcut file (foo.URL) to be saved for the users, what MIME type should I assign for it?
Default text/plain causes Windows to suggest it to be saved with .txt added as default.
With googling, I’ve found some alternatives:
- text/x-uri
- application/x-desktop
- application/x-mswinurl
If I’ve understood right, the types beginning with “x-” are unofficial?
Is there some standard (or de facto standard) mime type to use?
br,
Touko
I ended up using application/octet-stream which seems to work fine for me (at least Windows tries to save it as .URL as such as default and not as .txt as earlier with text/plain)
Check more discussion of this question.
Related posts:
Leave a comment
Recent Posts
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





