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

Method base_url

src/werkzeug/test.py:445–449  ·  view source on GitHub ↗

The base URL is used to extract the URL scheme, host name, port, and root path.

(self)

Source from the content-addressed store, hash-verified

443
444 @property
445 def base_url(self) -> str:
446 """The base URL is used to extract the URL scheme, host name,
447 port, and root path.
448 """
449 return self._make_base_url(self.url_scheme, self.host, self.script_root)
450
451 @base_url.setter
452 def base_url(self, value: str | None) -> None:

Callers

nothing calls this directly

Calls 1

_make_base_urlMethod · 0.95

Tested by

no test coverage detected