Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send appropriate user agent with directions requests #20

Closed
friedbunny opened this issue Feb 18, 2016 · 0 comments
Closed

Send appropriate user agent with directions requests #20

friedbunny opened this issue Feb 18, 2016 · 0 comments
Assignees

Comments

@friedbunny
Copy link
Contributor

As with mapbox/MapboxGeocoder.swift#25, we should provide an identifiable user agent with directions API requests.

/cc @1ec5

@tmcw tmcw self-assigned this Apr 6, 2016
1ec5 added a commit that referenced this issue Jun 3, 2016
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.
1ec5 added a commit that referenced this issue Jun 3, 2016
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.
@1ec5 1ec5 closed this as completed in #50 Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants