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

Method base_url

src/werkzeug/sansio/request.py:213–215  ·  view source on GitHub ↗

Like :attr:`url` but without the query string.

(self)

Source from the content-addressed store, hash-verified

211
212 @cached_property
213 def base_url(self) -> str:
214 """Like :attr:`url` but without the query string."""
215 return get_current_url(self.scheme, self.host, self.root_path, self.path)
216
217 @cached_property
218 def root_url(self) -> str:

Callers

nothing calls this directly

Calls 1

get_current_urlFunction · 0.70

Tested by

no test coverage detected