GIScience / ohsome-qgis-plugin

ohsome Qgis plugin
MIT License
6 stars 1 forks source link

Set proper User-Agent #1

Closed joker234 closed 3 years ago

joker234 commented 3 years ago

Ideally, an ohsome QGIS plugin would set a proper User-Agent. If the User-Agent is not set, the User-Agent of the used library is transmitted (e.g. python-requests/1.2.3). The User-Agent could be set to something like ohsome-qgis-plugin/version.

Further information on the User-Agent: https://datatracker.ietf.org/doc/html/rfc7231#section-5.5.3

See also https://github.com/GIScience/ohsome-py/issues/72.