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