Commit ca8ab428 authored by Joao Pedro Lopes's avatar Joao Pedro Lopes
Browse files

FTS-1735: Set the User-Agent header with client version

parent 7249f684
Pipeline #3126552 passed with stages
in 15 minutes and 4 seconds
......@@ -87,7 +87,10 @@ class Request:
raise ServerError(str(code))
def method(self, method, url, body=None, headers=None, user=None, passw=None):
_headers = {"Accept": "application/json"}
_headers = {
"Accept": "application/json",
"User-Agent": "fts-rest-client/3.12.0",
if headers:
if self.access_token:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment