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

Method fragment

httpx/_urls.py:300–305  ·  view source on GitHub ↗

The URL fragments, as used in HTML anchors. As a string, without the leading '#'.

(self)

Source from the content-addressed store, hash-verified

298
299 @property
300 def fragment(self) -> str:
301 """
302 The URL fragments, as used in HTML anchors.
303 As a string, without the leading '#'.
304 """
305 return unquote(self._uri_reference.fragment or "")
306
307 @property
308 def is_absolute_url(self) -> bool:

Callers

nothing calls this directly

Calls 1

unquoteFunction · 0.85

Tested by

no test coverage detected