You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Geocoder object sends a request, it sets the User-Agent HTTP header to a value of the form:
SanDiego/1.2.3 MapboxDirections/0.5.0 iOS/9.3.0 (x86_64)
This user agent string is based on the one used by the Mapbox iOS and OS X SDKs and MapboxGeocoder.swift (mapbox/MapboxGeocoder.swift#50).
Fixes#20.
When the Directions object sends a request, it sets the User-Agent HTTP header to a value of the form:
SanDiego/1.2.3 MapboxDirections/0.5.0 iOS/9.3.0 (x86_64)
This user agent string is based on the one used by the Mapbox iOS and OS X SDKs and MapboxGeocoder.swift (mapbox/MapboxGeocoder.swift#50).
Fixes#20.
As with mapbox/MapboxGeocoder.swift#25, we should provide an identifiable user agent with directions API requests.
/cc @1ec5
The text was updated successfully, but these errors were encountered: