<div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>Hi Richard, <br></div><div><br></div><div>Sounds fair to me, you can put the user agent string setting ( /qgis/networkAndProxy/userAgent ) in global_settings.ini, no need to rebuild.<br></div><div><br></div><div><a href="https://github.com/qgis/QGIS/blob/master/resources/qgis_global_settings.ini">https://github.com/qgis/QGIS/blob/master/resources/qgis_global_settings.ini</a></div><div></div><div><br></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 20, 2019 at 5:30 PM Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Devs, PSC,<br>
<br>
I had a short talk on IRC to 'Firefishy' the person who runs<br>
<a href="http://tile.openstreetmap.org" rel="noreferrer" target="_blank">tile.openstreetmap.org</a> CDN<br>
(in bcc, and see: <a href="http://irclogs.geoapt.com/qgis/%23qgis.2019-02-20.log" rel="noreferrer" target="_blank">http://irclogs.geoapt.com/qgis/%23qgis.2019-02-20.log</a>)<br>
<br>
In short: he/osm has an issue with QGIS using 'Mozilla/5.0 ....' as<br>
User-Agent header, but QGIS NOT behaving as a true browser.<br>
<br>
He explains that the tricks to create their abuse filters do not work on<br>
QGIS because (for example) we do not honor cookies.<br>
<br>
I asked this earlier:<br>
<br>
<a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Do-we-have-a-User-Agent-string-for-QGIS-td5360740.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Do-we-have-a-User-Agent-string-for-QGIS-td5360740.html</a><br>
<br>
But in my opinion now is time to change our default UserAgent.<br>
<br>
In the email thread above people were afraid that certain wms proxies<br>
would block us, but I think we should just try.<br>
<br>
IF we have proxy troubles, we can change the UserAgent per service? For<br>
example change the UserAgent only for OSM related services.<br>
Mmm, is it possible to do that via Python...<br>
<br>
I think that we should honor requests from a colleague-FOSS-service. He<br>
notes that they are exceeding 17000 tile requests per second at peaks...<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Alessandro Pasotti<br>w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>