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

Configure user agent string #50

Merged
merged 1 commit into from
Jun 3, 2016
Merged

Configure user agent string #50

merged 1 commit into from
Jun 3, 2016

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented 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.

/cc @friedbunny

@1ec5 1ec5 added the improvement Improvement for an existing feature. label Jun 3, 2016
@1ec5 1ec5 self-assigned this 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 added a commit to mapbox/MapboxStatic.swift that referenced this pull request Jun 3, 2016
When the Snapshot object sends a request, it sets the User-Agent HTTP header to a value of the form:

	SanDiego/1.2.3 MapboxStatic/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) and MapboxDirections.swift (mapbox/mapbox-directions-swift#50).
@1ec5 1ec5 merged commit b798003 into master Jun 3, 2016
@1ec5 1ec5 deleted the 1ec5-user-agent-20 branch June 3, 2016 08:07
genie4viz added a commit to genie4viz/MapboxStatic.swift that referenced this pull request Nov 30, 2018
When the Snapshot object sends a request, it sets the User-Agent HTTP header to a value of the form:

	SanDiego/1.2.3 MapboxStatic/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) and MapboxDirections.swift (mapbox/mapbox-directions-swift#50).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement for an existing feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant