MCPcopy
hub / github.com/encode/httpx / base_url

Method base_url

httpx/_client.py:288–292  ·  httpx/_client.py::BaseClient.base_url

Base URL to use when sending requests with relative URLs.

(self)

Source from the content-addressed store, hash-verified

286
287 @property
288 def base_url(self) -> URL:
289 class="st">"""
290 Base URL to use when sending requests with relative URLs.
291 class="st">"""
292 return self._base_url
293
294 @base_url.setter
295 def base_url(self, url: URL | str) -> None:

Callers

nothing calls this directly

Calls 2

URLClass · 0.85

Tested by

no test coverage detected