Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/authlib/authlib
/ url_encode
Function
url_encode
authlib/common/urls.py:21–25 ·
view source on GitHub ↗
(params)
Source
from the content-addressed store, hash-verified
19
20
21
def
url_encode(params):
22
encoded = []
23
for
k, v in params:
24
encoded.append((to_bytes(k), to_bytes(v)))
25
return
to_unicode(_urlencode(encoded))
26
27
28
def
url_decode(query):
Callers
11
handle_response
Method · 0.90
handle_response
Method · 0.90
prepare_form_encoded_body
Function · 0.90
prepare_request_uri_query
Function · 0.90
test_prompt
Function · 0.90
test_prompt_none_not_logged
Function · 0.90
authorize
Function · 0.90
test_token_from_fragment
Function · 0.90
test_token_from_fragment
Function · 0.90
test_token_from_fragment
Function · 0.90
add_params_to_qs
Function · 0.85
Calls
2
to_bytes
Function · 0.85
to_unicode
Function · 0.85
Tested by
5
test_prompt
Function · 0.72
test_prompt_none_not_logged
Function · 0.72
test_token_from_fragment
Function · 0.72
test_token_from_fragment
Function · 0.72
test_token_from_fragment
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…