MCPcopy
hub / github.com/urllib3/urllib3 / _encode_invalid_chars

Function _encode_invalid_chars

src/urllib3/util/url.py:214–217  ·  view source on GitHub ↗
(
    component: str, allowed_chars: typing.Container[str]
)

Source from the content-addressed store, hash-verified

212
213@typing.overload
214def _encode_invalid_chars(
215 component: str, allowed_chars: typing.Container[str]
216) -> str: # Abstract
217 ...
218
219
220@typing.overload

Callers 4

_normalize_hostFunction · 0.85
_encode_targetFunction · 0.85
parse_urlFunction · 0.85

Calls 2

to_strFunction · 0.85
extendMethod · 0.80

Tested by 1