Skip to content

Commit e600781

Browse files
committed
chore(User-Agent): Added environment information to User-Agent header
1 parent d7fe1cb commit e600781

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Scripts/Connection/RESTConnector.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,12 @@ private void AddHeaders(Dictionary<string, string> headers)
375375
}
376376
}
377377

378-
headers.Add("User-Agent", Constants.String.Version);
378+
headers.Add("User-Agent",
379+
string.Format(
380+
"{0} {1} {2}",
381+
Constants.String.Version,
382+
SystemInfo.operatingSystem, Application.version
383+
));
379384
}
380385

381386
private IEnumerator ProcessRequestQueue()

0 commit comments

Comments
 (0)