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

Method root_url

src/werkzeug/sansio/request.py:218–222  ·  view source on GitHub ↗

The request URL scheme, host, and root path. This is the root that the application is accessed from.

(self)

Source from the content-addressed store, hash-verified

216
217 @cached_property
218 def root_url(self) -> str:
219 """The request URL scheme, host, and root path. This is the root
220 that the application is accessed from.
221 """
222 return get_current_url(self.scheme, self.host, self.root_path)
223
224 @cached_property
225 def host_url(self) -> str:

Callers

nothing calls this directly

Calls 1

get_current_urlFunction · 0.70

Tested by

no test coverage detected