[QGIS-Developer] QGIS not following 302/redirects

Richard Duivenvoorde rdmailings at duif.net
Tue Aug 4 07:37:39 PDT 2020


Hi Devs,

See https://github.com/qgis/QGIS/issues/37956

According to that user QGIS is not following http 302 redirects.
Some googling reveals that Qt-networking is not doing that automatically.

I'm wondering IF it would be easy to add,
OR should not be added as redirection can be tricky/mis-used...?

I know Ale's python networkaccessmanager class did have some lines to add it:
https://github.com/planetfederal/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py#L326

Regards,

Richard Duivenvoorde





More information about the QGIS-Developer mailing list