MCPcopy
hub / github.com/pallets/werkzeug / _make_base_url

Method _make_base_url

src/werkzeug/test.py:441–442  ·  view source on GitHub ↗
(scheme: str, host: str, script_root: str)

Source from the content-addressed store, hash-verified

439
440 @staticmethod
441 def _make_base_url(scheme: str, host: str, script_root: str) -> str:
442 return urlunsplit((scheme, host, script_root, "", "")).rstrip("/") + "/"
443
444 @property
445 def base_url(self) -> str:

Callers 2

base_urlMethod · 0.95
from_environMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected