[Qgis-psc] Requiring adequate plugin descriptions
Luigi Pirelli
luipir at gmail.com
Tue May 23 11:04:05 PDT 2017
On 23 May 2017 at 09:56, ElPaso <elpaso at itopen.it> wrote:
>
> In Boundless we started using a small wrapper around QgsNetworkAccessManager
> that mocks httplib2, I think that it should be part of core QGIS python
> utils, with a (still to be developed) "requests" replacement.
>
> You can find it in this repo:
> https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons/networkaccessmanager.py
the class dev by Alessandro has also another advantage, that it
integrates qgis auth management as described in:
http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/authentication.html#adapt-plugins-to-use-authentication-infrastructure
we are working on this class to offer the same async bhavior of
QgsNetworkAccessManager instead of the only blocking behavior of the
httplib... and obviously adding tests for this class
cheers
Luigi Pirelli
**************************************************************************************************
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
**************************************************************************************************
More information about the Qgis-psc
mailing list