Commit da8ae321 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Update http redirect() docstring

Closes #20
parent d3479287
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}"