Re: POST and MIME types?
Tommi Komulainen <[email protected]>
| Newsgroups | gmane.comp.web.galeon.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2003-04-08 at 23:22, Anders Knudsen wrote:
> When I "upload" a file, that is, using a web page with
> a multi-part form and post, Galeon sends the wrong
> MIME type with the file.
> Same file uploaded with Mozilla sends the correct MIME
> type.
> What is Galeon doing differently, and is it a bug or
> am I missing something here?
Galeon is running the equivalent of the following two commands.
user_pref("helpers.global_mime_types_file", "");
user_pref("helpers.private_mime_types_file", "");
My guess is that those commands eradicate all knowledge of file
extension - MIME type mappings, and pretty forces all files to be
considered application/octet-stream.
The reason those prefs are unset is probably that since gnome has its
own MIME database, using mime.types in some places would be causing
subtle unwanted differences. But again, I'm just guessing.
Anyone know the history of those prefs?
--
Tommi Komulainen [email protected]
GPG 1024D/68388EE6 6FD6 DD79 EB38 BF6F 3533 09C0 04A8 9871 6838 8EE6
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+mFdlBKiYcWg4juYRAoAcAJ4luGKYnVC2dsOXH8oI84QNwPWBiQCghUQg 8FvlQO6QYp9eBVLSHQNNOvY= =bkXS -----END PGP SIGNATURE-----