Lines Matching refs:safe
188 fullurl = quote(fullurl, safe="%/:=&?~#+!$,;'@()*[]|")
740 proxyhost = quote(user, safe='') + ':' + quote(passwd, safe='') + '@' + proxyhost
757 proxyhost = quote(user, safe='') + ':' + quote(passwd, safe='') + '@' + proxyhost
770 host = quote(user, safe='') + ':' + quote(passwd, safe='') + '@' + host
783 host = quote(user, safe='') + ':' + quote(passwd, safe='') + '@' + host
1262 def quote(s, safe='/'): argument
1288 cachekey = (safe, always_safe)
1290 (quoter, safe) = _safe_quoters[cachekey]
1293 safe_map.update([(c, c) for c in safe])
1295 safe = always_safe + safe
1296 _safe_quoters[cachekey] = (quoter, safe)
1297 if not s.rstrip(safe):
1301 def quote_plus(s, safe=''): argument
1304 s = quote(s, safe + ' ')
1306 return quote(s, safe)