Bug report #16930
When adding WMS layers trough python plugin I run into issue with qgis stripping of vendor parameters. I found following issue that was cloesed (#12255). (https://issues.qgis.org/issues/12255). Proposed solution doesnt work for me "Ignore GetMap/GetTile URI reported in capabilities" as I am doing it from custom python script / plugin. Is there way to activate this setting from python script.