When I try to download some files from launchpad.net my browser displays page full of different strange characters. I can see that last download was today but I am not able to download it. I am able to download files from different projects but not that one. Here is the link: gcc-arm-embedded-misc
The server reports MIME type
text/plain
in the HTTPContent-Type
header field and Firefox diligently interprets and displays the file content as such. The server behaviour is a known bug in Launchpad itself.You can circumvent the issue
A side note concerning the reported behaviour of Chrome/Chromium: web browsers shouldn't care about file extensions to determine file types according to RFC 1341. They should only care about the MIME string sent in the HTTP response header. If a browser disregards that string in favour of file extensions or content type sniffing, they may be doing something useful for the user in most situations, but they're violating RFC 1341 in the process.
¹ Plus an HTTP client, that doesn't try to display file content, like
wget
,curl
, or DownThemAll!.The easiest way to fix this would simply be to right click the link and click on "Save Link As".