Re: double loading of web page when going through <alt-f2> - run?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 06 April 2005 14:47, hubert lubaczewski wrote:
> On Wed, Apr 06, 2005 at 02:09:37PM +0200, Kevin Krammer wrote:
> > Whe using the run command, KDE first request the HTTP information about
> > the file you have entered and then decides which application can handle
> > the target's MIME type.
> > In your case it very likely encounters text/html and starts Konqueror for
> > it. If you enter the address into Konqueror, it can skip the second step
> > as the encountered MIME type is one it can handle itself.
>
> yes, i understand it, but the question is: how can i avoid double
> requests when using run command.
> i could live with four possibilities:
>
> 1. request is being made, mime type checked, and the content is somehow
> passed to konqueror - so it can display it directly without further
> (doubling) request.

It is a generic technique, it will call the associated application and pass it 
the URL

> 2. skip mime type checking, and just check for protocol - if it's http -
> pass to konqueror.

You could try setting Konqueror as the external browser.

> 2. make the first request use HEAD method instead of GET.

Haven't checked this yet, could be possible solution to implement KIO::stat 
like this in kio_http

> 3. use specific "Browser:" header instead of standard konquerors so i
> can modify the webpage so it will just ignore requests from "run command
> mime type checker".

You mean User Agent?
Hmm, might be a good idea, kio_http alone is not KHTML.
You could suggest that in a bugreport/wish item on bugs.kde.org

Cheers,
Kevin

Attachment: pgpcYNFhBmY1r.pgp
Description: PGP signature

___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux