touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #40049
[Bug 1399401] Re: SmartScopesProxy should allow send the User Agent also when doing the remote-scopes request
If this is only needed to enable/disable scopes for different partners,
would "partner-id" in UserAgent be enough for you? The reason I'm asking
is we currently don't have all the info that we normally pass via
UserAgent with search requests in Smart Scopes Registry; but /custom
/partner-id we could easily obtain and pass to you with a quick fix.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1399401
Title:
SmartScopesProxy should allow send the User Agent also when doing the
remote-scopes request
Status in unity-scopes-api package in Ubuntu:
New
Bug description:
In the following call:
SmartScopesClient.get_remote_scopes(): GET https://dash.ubuntu.com/smartscopes/v2/remote-scopes?locale=en
...the SmartScopesProxy is not sending the normal User Agent (with
"partner", etc). The server receives 'Mozilla/5.0', which is not very
useful.
The SmartScopesProxy should send the User Agent like when doing the
search and preview requests, specially because in the "remote-scopes"
request is needed to decide which scopes to enable for different
partners.
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1399401/+subscriptions
References