Is there a way with QWebEngineView
to intercept an http request, and to serve it server-less from the app ?
I heard about QWebEngineUrlRequestInterceptor
and acceptNavigationRequest()
, but they provide only inspection on requests, and redirection for get... But I would like to make the http response from the Qt app.
(I added pyqt in the tags because I would use it from python, but a c++ answer is acceptable too)