[Interest] Get http headers from web engine view?
giuseppe.dangelo at kdab.com
Sat Jan 19 18:17:28 CET 2019
Il 19/01/19 17:16, First Last ha scritto:
> I am using a qml WebEngineView to show a login/signup view (provided by a Rails server). On successful login, the server provides a jwt authentication token in the http headers of the response. How can I get this header from the web engine? Do I need to use a webengine widget instead of qml?
I don't think you have any access to the HTTP stack provided by web
engine. Are you sure you don't need to perform the login using XHR and
then using getResponseHeader() to get the value of that header?
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4007 bytes
Desc: Firma crittografica S/MIME
More information about the Interest