Page MenuHomePhabricator

Change UserAgent and add X-WMF-UUID header to Mapbox tile requests
Closed, DeclinedPublic

Description

For the calls that we make to the MW API, we add a header called X-WMF-UUID that contains the unique install ID of the app. We'd like to include this header into the requests that the Mapbox SDK makes when retrieving tiles.
Also, we should update the User-Agent that Mapbox uses to include information about the current version of the app, and the version of the OS (basically give it the same useragent as our API calls, with a possible addition of the Mapbox SDK version).

Upstream: https://github.com/mapbox/mapbox-gl-native/issues/1993

Event Timeline

Dbrant raised the priority of this task from to Needs Triage.
Dbrant updated the task description. (Show Details)
Dbrant moved this task to Tech Debt Backlog on the Wikipedia-Android-App-Backlog board.
Dbrant added subscribers: Dbrant, Yurik.
Yurik renamed this task from Add "X-WMF-UUID" header to Mapbox tile requests. to Change UserAgent and add X-WMF-UUID header to Mapbox tile requests.Oct 20 2015, 7:18 PM

Adding @Ironholds and @mpopov to make sure they're aware of this, as they're the analysts that will be tracking this traffic.

This sounds good, although unless the intent is for the Maps team to care about versioning the UA change may be overkill.

I had opened an issue against Mapbox to allow a custom userAgent:
https://github.com/mapbox/mapbox-gl-native/issues/3149

LGoto subscribed.

Closed as part of board grooming process.