[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kio_http pops up warning boxes
From: David Faure <david () mandrakesoft ! com>
Date: 2000-08-04 0:19:50
[Download RAW message or body]
On Wed, Aug 02, 2000 at 10:53:16PM -0400, Dawit Alemayehu wrote:
> On Wed, 02 Aug 2000, David Faure wrote:
> > A friend of mine is using konqueror over a proxy,
> > and he gets many many message boxes from kio_http
> > (via KIO::SlaveBase::warning()) saying:
> >
> > "10 mjguh5:8080 "Remote server was not contacted, document may be
> > out-of-date""
> >
> > This comes from the HTTP answer from the server, which contains "Warning: ..."
> >
> > This one can safely be hidden away, that's for sure.
> > The question is, are there other warnings that shouldn't be hidden ?
> > I'm thinking, for instance, about security-related warnings, if any...
> >
> > Is there some specification for those warnings ? I guess "10"
> > is a "warning code" ? If so, which ones should be ignore, and
> > which ones should pop up a message box ?
>
> Not really :)) Well at least not for HTTP 1.1 ( look at 14.46 in RFC 2616 docs
> under kdelibs/kio/http) Warning headers are meant mostly to deal with caching
> and nothing else. Infact, though you are allowed to add "Warning header" in
> the response. I think we can safely ignore these for now. I will comment this
> out until I get the full meaning of what the Warning header is supposed to
> accomplish. But you can rest assured that it currently (as defined by the
> spec) has nothing concerned with security. Anyways, why would we trust what
> some remote machine tells us... :)
Ok, I used infoMessage() instead of warning() so that those warnings
still appear but in the statusbar (or the progress dialog).
--
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic