← Back to team overview

touch-packages team mailing list archive

[Bug 1399401] [NEW] SmartScopesProxy should allow send the User Agent also when doing the remote-scopes request

 

Public bug reported:

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!

** Affects: unity-scopes-api (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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


Follow ups

References