Pass through snapd client User-Agent to store requests

Currently snapd proxies requests from it’s clients (snap command-line, GNOME Software, KDE Discover etc) to store requests. The store requests don’t send any information about the client, which makes it harder to get statistics on the store about the source of requests.

Since snapd-glib 1.16 we send up a User-Agent header that can be overridden by the library user. I propose we combine this User-Agent header with the snapd User-Agent so the store can process it.

2 Likes

Filed bug.