Commit 761037f8 authored by Joao Pedro Lopes's avatar Joao Pedro Lopes
Browse files

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

parent c9ecff88
Pipeline #3195001 passed with stage
in 2 minutes and 39 seconds
......@@ -129,7 +129,7 @@ class PycurlRequest(object):
elif method == 'PUT':
self.curl_handle.setopt(pycurl.UPLOAD, True)
_headers = {'Accept': 'application/json'}
_headers = {'Accept': 'application/json', "User-Agent": "fts-rest-client/3.11.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