what the fuck
Apr. 27th, 2005 06:01 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Somehow, Firefox has decided to handle Flash files with the QuickTime plugin. If there's one thing about Firefox that really ticks me off, it's that there's no obvious way to tell it to handle a particular file type with the plug-in (or, if it normally does, to not do so). It also seems to mishandle file extensions and file types, but i can't tell if that's its fault or Windows's fault (if a Web server sends a .mp4 file as "text/plain", should the browser figure out it's a binary file and send it to the right place, or accept the file type as authoritative? is the solution to have the browser run "file" on the download to determine its type? what if the magic number file is poor?). I hate computers. I hate the Web.
no subject
Date: 2005-04-28 01:15 am (UTC)It's a total mistake because either the browser's system knows how to handle the file or not, either through the extension or the magic number or whatever. With the HTTP server supplying the mime type, now the http provider has to know how to identify the right mime type given the file extension or its magic number or similar. Note that supplying the correct mime type isn't helpful if the browser's system can't actually do anything with it--and the cases where the browser's system can do something with it mostly corresponds to cases where the browser's system can identify the extension or magic number. Thus there's no real case where having the server provide the mime type for a static file helps (well, it allows resolving the ASCII/binary FTP mess, but I bet that is better just done on the client side as well, and you can hypothesize some scenarios where it allows the server to store things with non-standard extensions and appropriate mime mappings), and there are plenty of cases where it hurts--every time the browser's system knows about the filetype and the server doesn't. (Which is ALL THE FUCKING TIME. I have this wacky idea for a distributed 3D world where everyone just stores their small chunk of the world on their webserver. I'll have to make the extension be '.zip' so people on geocities or things like that can use it too.)
no subject
Date: 2005-04-28 01:16 am (UTC)no subject
Date: 2005-04-28 01:17 am (UTC)no subject
Date: 2005-04-28 01:50 am (UTC)no subject
Date: 2005-04-28 07:19 am (UTC)The hell with that
Date: 2005-04-28 05:37 am (UTC)oh, and that xhost problem I was talking to you about last week? misconfigured sshd on the target box, looks like. I'll bend the appropriate ears.
no subject
Date: 2005-04-28 07:20 am (UTC)I was afraid it'd be the sshd, because then you wouldn't be able to fix it. Bitches.
Re: The hell with that
Date: 2005-04-28 07:26 am (UTC)Re: The hell with that
Date: 2005-04-28 11:49 am (UTC)Re: The hell with that
Date: 2005-04-28 11:50 am (UTC)no subject
Date: 2005-04-28 07:25 am (UTC)On Windows, there was the possibility to change this somewhere in the system controls, which (apart from IE) at least Netscrap honored. On Windos 98.
no subject
Date: 2005-04-28 06:51 pm (UTC)So disable it!
Date: 2005-04-28 11:07 pm (UTC)