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 e2ea8b8 commit 7b61ae6Copy full SHA for 7b61ae6
gitlab/client.py
@@ -1130,13 +1130,8 @@ def _query(
1130
query_data = query_data or {}
1131
result = self._gl.http_request("get", url, query_data=query_data, **kwargs)
1132
try:
1133
- links = result.links
1134
- if links:
1135
- next_url = links["next"]["url"]
1136
- else:
1137
- next_url = requests.utils.parse_header_links(result.headers["links"])[
1138
- 0
1139
- ]["url"]
+ next_url = result.links["next"]["url"]
+
1140
# if the next url is different with user provided server URL
1141
# then give a warning it may because of misconfiguration
1142
# but if the option to fix provided then just reconstruct it
0 commit comments