Skip to content

Commit 6f80380

Browse files
author
Gauvain Pocentek
committed
Fix the https redirection test
1 parent 042b706 commit 6f80380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def _check_redirects(self, result):
411411
if item.status_code not in (301, 302):
412412
continue
413413
# GET methods can be redirected without issue
414-
if result.request.method == 'GET':
414+
if item.request.method == 'GET':
415415
continue
416416
# Did we end-up with an https:// URL?
417417
location = item.headers.get('Location', None)

0 commit comments

Comments
 (0)