[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: [PATCH] Get rid of dialogs when visiting netvibes.com
From:       "koos vriezen" <koos.vriezen () gmail ! com>
Date:       2008-01-06 15:48:55
Message-ID: d4e708d60801060748u39b020c7h552deb87a804d130 () mail ! gmail ! com
[Download RAW message or body]

2008/1/6, Allan Sandfeld Jensen <kde@carewolf.com>:
> On Sunday 06 January 2008 15:51, Aurélien Gâteau wrote:

> > It seems netvibes.com source is full of code like this:
> >
> > <iframe src="/empty.txt"></iframe>
> >
> > Each iframe causes Konqueror to show a "save, open or cancel" dialog.

> The issue is that some webservers use text/plain as fall-back when they don't
> know the correct mimetype.
> So text/plain should be treated like application/octet, that is as unknown
> mimetype when received from http, that will make the actual mimetype be
> detected by magic.
>
> So maybe the fix should be done in kio_http?

Looks to me that in this particular case, it should be treated as an
empty html file, as a hint use Content-Length: 0

Koos

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic