[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Accessing: www-Authenticate via kio?
From: Àlex Fiestas <afiestas () kde ! org>
Date: 2013-04-03 18:47:54
Message-ID: 5926565.d6QtW3fgpI () monsterbad
[Download RAW message or body]
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 escriure:
> > On Wednesday, 2013-04-03, Àlex Fiestas wrote:
> > > 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.
> >
> > "this info" as in the metaData() result? Isn't that always there
> > independent of whether you run exec() or retrieve it in a result slot?
>
> "this info" as in www-Authenticate info that he is not seeing in metaData()
> result (Yes, i understood the same as you did, i just clarified over IRC)
>
> 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 !
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic