def http_get(self, path, query_data={}, streamed=False, raw=False,<EOL>**kwargs):
result = self.http_request('<STR_LIT>', path, query_data=query_data,<EOL>streamed=streamed, **kwargs)<EOL>if (result.headers['<STR_LIT:Content-Type>'] == '<STR_LIT:application/json>'<EOL>and not streamed<EOL>and not raw):<EOL><INDENT>try:<EOL><INDENT>return result.json()<EOL><DEDENT>except Exception:<EOL><INDENT>raise GitlabParsingError(<EOL>error_message="<STR_LIT>")<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return result<EOL><DEDENT>
Make a GET request to the Gitlab server.

        Args:
            path (str): Path or full URL to query ('/projects' or
                        'http://whatever/v4/api/projecs')
            query_data (dict): Data to send as query parameters
            streamed (bool): Whether the data should be streamed
            raw (bool): If True do not try to parse the output as json
            **kwargs: Extra options to send to the server (e.g. sudo)

        Returns:
            A requests result object is streamed is True or the content type is
            not json.
            The parsed json data otherwise.

        Raises:
            GitlabHttpError: When the return code is not 2xx
            GitlabParsingError: If the json data could not be parsed