HTTP server sends 404, but Job->error() is zero!

David Faure david at mandrakesoft.com
Tue Jul 2 12:38:56 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 02 July 2002 12:50, Best, Jan-Pascal van wrote:
> but, worse, job->error() returns zero, while the server sent
> us a 404! I guess this would be allright for konqueror, which 
> would want to show the user the error page returned by the
> server, but in my case I'd really like to know that the
> file doesn't exist on the server.

if (job->error() || job->isErrorPage())
  [...]

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-beta2 is out! http://dot.kde.org/1025176121/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9IZDQ72KcVAmwbhARAhJrAJ4tJAQ9vQwTYi3wVO+Q9y198v7XJwCgqvEa
9PxpdQHgOg0mbPEaUWWnJgU=
=Boog
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list