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

Method password

httpx/_urls.py:160–166  ·  view source on GitHub ↗

The URL password as a string, with URL decoding applied. For example: "a secret"

(self)

Source from the content-addressed store, hash-verified

158
159 @property
160 def password(self) -> str:
161 """
162 The URL password as a string, with URL decoding applied.
163 For example: "a secret"
164 """
165 userinfo = self._uri_reference.userinfo
166 return unquote(userinfo.partition(":")[2])
167
168 @property
169 def host(self) -> str:

Callers

nothing calls this directly

Calls 1

unquoteFunction · 0.85

Tested by

no test coverage detected