We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dad6805 commit c22d49dCopy full SHA for c22d49d
gitlab/__init__.py
@@ -94,7 +94,7 @@ def __init__(
94
#: Timeout to use for requests to gitlab server
95
self.timeout = timeout
96
#: Headers that will be used in request to GitLab
97
- self.headers = {}
+ self.headers = {"User-Agent": "%s/%s" % (__title__, __version__)}
98
99
#: Whether SSL certificates should be validated
100
self.ssl_verify = ssl_verify
0 commit comments