-
Notifications
You must be signed in to change notification settings - Fork 556
Description
Original report by Thomas Runkel (Bitbucket: Thomas Runkel).
Uploading a file to a minio (or S3) repo using cef >86 (js, XMLHttpRequest). is not working anymore.
(see also Forum-Thread: NTLM Authenentication not working anymore in OutOfBlinkC)
When trying to send the preflight (OPTIONS) request, there’s no authentication challenge with the proxy.
What happens is that CEF sends exactly one request, the proxy answers with a 407 Proxy Authentication Required and that's it. No second try to connect, no authentication granted.
As we found out, intercepting the network traffic seems to be the problem.
Setting |pass_though| = true in ProxyURLLoaderFactory::CreateLoaderAndStart (thx to Marshall) fixes the problem.
Could it be a workaround to make pass_through an Option?
Additional info: To make devtools work, do something like this:
bool pass_through = !request.url.SchemeIs("devtools");