Firefox and special mimetypes

I use Firefox on an XP platform and want to open a special file-type (.sgf) designed to view Go-Games.
In IE, if I want to open an sgf file, the browser ask me to choose a program, etc.
FF does this too, but only if the server knows [application/x-go-sgf]
If, however, the server thinks: [text/plain], FF renders the file as textfile, without a chance to interfere. Is there a possibility to change this, i.e to make FF recognize .sgf endings?

Thx

Pok
PokAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

amit_gCommented:
You already have a better solution i.e. the server side. FF does what it is supposed to do when it gets text/plain from the server as a mimetype. You can possibly change the client settings for MIME type text/plain to some other application but then a genuine text/plain type file will not be considered a text file and instead be opened from that application. Also this is not a FF setting but a windows setting so other programs may also be affected.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GrandSchtroumpfCommented:
amit_g is rignt: only the mime-type should be used to determine the type of a file (no matter what the file extension is).
If your browser cannot handle the mime-type served by the web server, it should ask you to open/save the file and then, it's the OS that will decide what to do with the file.
This means that the only good option to serve your file as "application/x-go-sgf".
You can do that either by modifying the webserver settings so that it uses that mime type for all the ".sgf" files, or by streaming your file using a server-side scripting language that allows you to modify the http headers (php, jsp, asp).
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.