diff --git a/gitlab/__init__.py b/gitlab/__init__.py index c73e697f9..08fbb4a4a 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -94,7 +94,7 @@ def __init__( #: Timeout to use for requests to gitlab server self.timeout = timeout #: Headers that will be used in request to GitLab - self.headers = {} + self.headers = {"User-Agent": "%s/%s" % (__title__, __version__)} #: Whether SSL certificates should be validated self.ssl_verify = ssl_verify