update user agent string
@@ -131,10 +131,10 @@ class UserAgentPolicy(SansIOHTTPPolicy):
self.use_env = kwargs.pop('user_agent_use_env', True)
if base_user_agent is None:
- self._user_agent = "python/{} ({}) azure-core/{}".format(
+ self._user_agent = "azsdk-python-core/{} Python/{} {}".format(
+ azcore_version,
platform.python_version(),
- platform.platform(),
- azcore_version
+ platform.platform()
)
else:
self._user_agent = base_user_agent
