planetlabs / qgis-planet-plugin

Browse, filter, preview and download Planet Inc imagery in QGIS.
https://developers.planet.com/docs/integrations/qgis/
GNU General Public License v2.0
46 stars 10 forks source link

set proxy info in dispatcher #6

Closed volaya closed 4 years ago

ischneider commented 4 years ago

One small issue (I think):

Seems like the configuration for requests should contain a key for both http and https.

Otherwise looks like the right approach to me.

Other thoughts:

mirandadam commented 4 years ago

Thanks for the quick turnaround. @ischneider has a point. For correctness and completeness sake, it would be best to read and consider all the options provided by QGis, namely the no-proxy rules in the "No proxy for (URLs starting with)" window. Otherwise the bug would technically still be there, although it would only be triggered by a very specific use case: Say that I request for a passthrough rule for Planet's API to my IT department, but a proxy is still required to access some other dataset. I would configure QGis' proxy, but would list planet's api endpoint in the no_proxy rules.

volaya commented 4 years ago

see https://github.com/planetlabs/qgis-planet-plugin/pull/8

mirandadam commented 4 years ago

Awesome! Thanks!