MCPcopy Create free account
hub / github.com/EasyIME/PIME / _oauth_escape

Function _oauth_escape

python/python3/tornado/auth.py:1169–1172  ·  view source on GitHub ↗
(val: Union[str, bytes])

Source from the content-addressed store, hash-verified

1167
1168
1169def _oauth_escape(val: Union[str, bytes]) -> str:
1170 if isinstance(val, unicode_type):
1171 val = val.encode("utf-8")
1172 return urllib.parse.quote(val, safe="~")
1173
1174
1175def _oauth_parse_response(body: bytes) -> Dict[str, Any]:

Callers 2

_oauth_signatureFunction · 0.85
_oauth10a_signatureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected