MCPcopy
hub / github.com/django/django / encode

Method encode

django/http/request.py:729–730  ·  view source on GitHub ↗
(k, v)

Source from the content-addressed store, hash-verified

727 safe = safe.encode(self.encoding)
728
729 def encode(k, v):
730 return "%s=%s" % ((quote(k, safe), quote(v, safe)))
731
732 else:
733

Callers 15

force_bytesFunction · 0.45
encoding.pyFile · 0.45
punycodeFunction · 0.45
repercent_broken_unicodeFunction · 0.45
slugifyFunction · 0.45
log_messageFunction · 0.45
_generate_cache_keyFunction · 0.45
urlsafe_base64_decodeFunction · 0.45
__init__Method · 0.45
parse_boundary_streamFunction · 0.45

Calls 2

quoteFunction · 0.85
urlencodeFunction · 0.50

Tested by 1

patch_urlopenFunction · 0.36