Skip to content

Conversation

@ischneider
Copy link
Member

this addresses various network proxy issues

i tested login and getting some basemaps ... while it's possible something is missing from mapping from requests -> qgis/qt -> requests, I think this is a good approach

Copy link
Contributor

@timlinux timlinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ischneider thank you for preparing this

With regards to the implementation approach, I am still busy with testing here (see the privoxy setup in scripts) to confirm the solution works as intended.

Regards

Tim

from qgis.PyQt.QtCore import pyqtSignal, pyqtSlot, QObject, QSettings
from qgis.core import QgsAuthMethodConfig, QgsApplication, QgsMessageLog, Qgis
from qgis.PyQt.QtCore import pyqtSignal, pyqtSlot, QObject, QUrl
from PyQt5.QtNetwork import QNetworkRequest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should import like this rather:

from qgis.PyQt.QtNetwork import QNetworkRequest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants