On Wednesday 03 April 2013 19:35:55 Albert Astals Cid wrote: > El Dimecres, 3 d'abril de 2013, a les 19:22:56, Kevin Krammer va escr= iure: > > On Wednesday, 2013-04-03, =C0lex Fiestas wrote: > > > Is there anyway of getting the authentication realm using kio_htt= p ? > > >=20 > > > 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(); > > >=20 > > > metada contains: > > > "charset", "utf-8" > > > "content-type", "application/xml" > > > "referrer", "" > > > "request-id", "" > > > "responsecode", "401" > > > "ssl_in_use", "FALSE" > > >=20 > > > 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. > >=20 > > "this info" as in the metaData() result? Isn't that always there > > independent of whether you run exec() or retrieve it in a result sl= ot? >=20 > "this info" as in www-Authenticate info that he is not seeing in meta= Data() > result (Yes, i understood the same as you did, i just clarified over = IRC) >=20 > I've suggesting using the > metaData.insert( "PropagateHttpHeader", "true" ); > thing. Aaah sorry for the horrible explanation :/ I want to get the http www-authenticate header using kio. Will try this PropagateHttpHeader thingy. Thanks !