rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Traz on December 26, 2004, 11:06:36 PM

Title: FireFox and opening jpgs from HFS
Post by: Traz on December 26, 2004, 11:06:36 PM
FireFox tries to download image to hdd (and open with external browser) not just open it (IE does it right). I have default mime settings.

There is no such problem with other servers. I must set something in HFS or its bigger problem?
Title: FireFox and opening jpgs from HFS
Post by: rejetto on December 27, 2004, 01:54:35 PM
what version of HFS are you using?
what's your MIME configuration in HFS?
Title: FireFox and opening jpgs from HFS
Post by: Traz on December 27, 2004, 02:38:39 PM
I tried 1.6, 2.0 beta 10 and beta 12 it seems to egzist in all of them
i use default mime setings without alteration

mime-types=*.htm;*.html|text/html|*.jpg;*.jpeg;*.jpe|image/jpeg|*.gif|image/gif|*.png|image/png|*.bmp|image/bmp|*.ico|image/x-icon|*.mpeg;*.mpg;*.mpe|video/mpeg|*.avi|video/x-msvideo|*.txt|text/plain
Title: FireFox and opening jpgs from HFS
Post by: rejetto on December 28, 2004, 11:35:31 PM
hmm, this happens because Opera/IE sends
Quote
Accept: application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1

including jpeg
while mozilla
Quote
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

i don't know what to do
i will re-read the RFC about the Accept header field
Title: FireFox and opening jpgs from HFS
Post by: Traz on December 29, 2004, 01:43:26 PM
Gee, I hope you will come up with something.
Title: FireFox and opening jpgs from HFS
Post by: Sk8er_Bender on December 30, 2004, 09:00:49 AM
yeah I have this problem too but I know what other people which using explorer browser  they'r all see normal jpeg that is fine
Title: FireFox and opening jpgs from HFS
Post by: Traz on December 30, 2004, 12:22:32 PM
Yeah But IE users is like 1% of my all users... and all of firefox users bitch about this problem :/
Title: FireFox and opening jpgs from HFS
Post by: rejetto on January 02, 2005, 05:25:56 PM
indeed i misinterpreted the Accept header.
beta14 solves this issue.
Title: FireFox and opening jpgs from HFS
Post by: Traz on January 02, 2005, 08:04:54 PM
great! I can't wait until it will be available.
Title: FireFox and opening jpgs from HFS
Post by: Traz on January 02, 2005, 10:49:41 PM
YEAH! now its perfect! thenk you very much!