This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

What is or how to decide Valid HTTP User-Agent application “name” to avoid OSM Blockage?

0
1

We are using OSM in our application using ThinkGeo dll. As per OSM policy, we have to use Valid HTTP User-Agent in our application.So I wanted to know how to decide the valid name for the application so that OSM will identify our application is valid and will not block us.

  1. If OSM block any application and after how much time OSM will unblock that application
  2. How OSM identify particular application is valid or not based on HTTP User-Agent name?
  3. What is best practice for giving name for Valid HTTP User-Agent?
  4. Can we add company website to easily identify the application in HTTP User-Agent?

https://operations.osmfoundation.org/policies/tiles/

asked 15 Jul '20, 10:51

Ashish_Walke's gravatar image

Ashish_Walke
11224
accept rate: 0%

edited 15 Jul '20, 18:20


One Answer:

2
1. If OSM block any application and after how much time OSM will unblock that application

That depends. I guess there are no general rules for how long to block a particular application. In the worst case your application will get blocked forever.

2. How OSM identify particular application is valid or not based on HTTP User-Agent name?

There is a black list deny list for "bad" applications. Everything else is allowed.

3. What is best practice for giving name for Valid HTTP User-Agent?

Choose a unique name, ideally including the version of your application.

4. Can we add company website to easily identify the application in HTTP User-Agent?

This is not necessary. A unique name is enough to identify your application and the corresponding website.

answered 16 Jul '20, 08:03

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Source code available on GitHub .