Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
214
def
_encode_invalid_chars(
215
component: str, allowed_chars: typing.Container[str]
216
) -> str:
# Abstract
217
...
218
219
220
@typing.overload
Callers
4
test_encode_invalid_chars_none
Method · 0.90
_normalize_host
Function · 0.85
_encode_target
Function · 0.85
parse_url
Function · 0.85
Calls
2
to_str
Function · 0.85
extend
Method · 0.80
Tested by
1
test_encode_invalid_chars_none
Method · 0.72