Accessing: www-Authenticate via kio?

Àlex Fiestas afiestas at kde.org
Wed Apr 3 18:11:44 BST 2013


Is there anyway of getting the authentication realm using kio_http ?

I tried with (http/webdav and adding an user as well)
KIO::get(KUrl("webdav://owncloudserver/remote.php/webdav/"));
job->setUiDelegate(0);
job->exec();
qDebug() << job->metaData();

metada contains:
"charset", "utf-8"
"content-type", "application/xml"
"referrer", ""
"request-id", ""
"responsecode", "401"
"ssl_in_use", "FALSE"

Is there anyway of getting this info with kio? I'm doing this in a kded module 
so I really want to make it async.

Thanks !




More information about the kde-core-devel mailing list