Loading behave_utils/http.py +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ def redirect( name resolution services. "prefix" is formated as either "{hostname}[:{port}]" or "{schema}://{hostname}[:{port}]" where "schema" defaults to (and currently only supports) "http". where "schema" defaults to "http". """ if not prefix.startswith("http://") or prefix.startswith("https://"): prefix = f"http://{prefix}" if certificate is None else f"https://{prefix}" Loading Loading
behave_utils/http.py +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ def redirect( name resolution services. "prefix" is formated as either "{hostname}[:{port}]" or "{schema}://{hostname}[:{port}]" where "schema" defaults to (and currently only supports) "http". where "schema" defaults to "http". """ if not prefix.startswith("http://") or prefix.startswith("https://"): prefix = f"http://{prefix}" if certificate is None else f"https://{prefix}" Loading