response headers
Opened this issue · 2 comments
3052 commented
how to get them?
inkeliz commented
Webview is an isolated process, the only way to get headers (and body) requests and responses is using proxy, in that case. You can set proxies and certificate. The proxy can run locally, so basically: Your app -> Webview -> Your App (Proxy) -> Webview -> Your App (Proxy) -> ...
EDIT: If you want to use it for authentication, you can use custom-scheme, then listen such scheme.
3052 commented
I dont think thats true. at least on windows, it seems to be possible to get them:
https://learn.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2httpresponseheaders