Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6f80380

Browse filesBrowse files
author
Gauvain Pocentek
committed
Fix the https redirection test
1 parent 042b706 commit 6f80380
Copy full SHA for 6f80380

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎gitlab/__init__.py‎

Copy file name to clipboardExpand all lines: gitlab/__init__.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.