On 12/12/18 5:55 AM, shiva reddy wrote: > Hi, > I have used 'requests' library to access web resources in my plugin. > I am wondering if I should migrate to any QGIS core library instead ? > If yes would appreciate getting any cheat sheet.
Hi Shiva, there is no python core lib yet, but I often pull the Boundles/Alessandro/Luigi's one from here: https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py For now I copy it in my plugins, but I'm very much in favour of adding some python core/common libs to QGIS so everybody uses the same/right way of doing http(s) stuff (meaning: using the proxy from settings etc) Regards, Richard Duivenvoorde _______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
