Skip to content

Commit

Permalink
Fix the https redirection test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Sep 5, 2018
1 parent 042b706 commit 6f80380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/__init__.py
Expand Up @@ -411,7 +411,7 @@ def _check_redirects(self, result):
if item.status_code not in (301, 302):
continue
# GET methods can be redirected without issue
if result.request.method == 'GET':
if item.request.method == 'GET':
continue
# Did we end-up with an https:// URL?
location = item.headers.get('Location', None)
Expand Down

0 comments on commit 6f80380

Please sign in to comment.