KIO::TransferJob and HTTP error codes
- Date: Fri, 18 Jan 2008 12:00:27 +0100
- From: Martin Müller <orvio@xxxxxxxx>
- Subject: KIO::TransferJob and HTTP error codes
Hello,
Is there any way to acces the error codes received by the TransferJob?
There is the method isErrorPage(), but sometimes the proper reaction depends
on the exact error code. For example, if the job failed due to an expired
authentication I might renew the authentication and resend the request, while
I cannot recover from all other errors and need to give up.
I cannot use the error() method because it will not indicate an error. At
least not if the error happens to be a 403.
Cheers
Martin
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<