This is needed when we want to display an error page after the user requested a qute:// URL, as qute:// URLs can't access file:// content with QtWebEngine.