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.
1 parent dad6805 commit c6004e7Copy full SHA for c6004e7
gitlab/__init__.py
@@ -94,7 +94,9 @@ 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 = {
98
+ "User-Agent": "%s/%s" % (__title__, __version__)
99
+ }
100
101
#: Whether SSL certificates should be validated
102
self.ssl_verify = ssl_verify
0 commit comments