Skip to content

Commit 05922ae

Browse files
committed
Add user agent
1 parent 35afb53 commit 05922ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

browserstack/local_binary.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def fetch_source_url(self):
4444
url = "https://local.browserstack.com/binary/api/v1/endpoint"
4545
headers = {
4646
"Content-Type": "application/json",
47-
"Accept": "application/json"
47+
"Accept": "application/json",
48+
'User-Agent': '/'.join(('browserstack-local-python', LocalBinary._version))
4849
}
4950
data = {"auth_token": self.key}
5051

0 commit comments

Comments
 (0)