We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dad6805 + c22d49d commit 8cb5488Copy full SHA for 8cb5488
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