Lines Matching refs:safe
56 self.safe = ''
89 self.safe = URIVariable.reserved
124 self.safe = ''
137 self.safe = URIVariable.reserved
146 safe = self.safe
152 '%s=%s' % (name, quote(v, safe)) for v in value
155 value = ','.join(quote(v, safe) for v in value)
165 quote(k, safe), quote(v, safe)
171 quote(k, safe), quote(v, safe)
178 return '%s=%s' % (name, quote(value, safe))
188 safe = self.safe
200 quote(v, safe) for v in value if value is not None
213 quote(k, safe), quote(v, safe)
219 return quote(value, safe)
224 safe = self.safe
238 name, quote(v, safe)
243 value = ','.join(quote(v, safe) for v in value)
252 quote(k, safe), quote(v, safe)
258 quote(k, safe), quote(v, safe)
265 return '%s=%s' % (name, quote(value, safe))
276 return ','.join(quote(v, self.safe) for v in value)
284 quote(k, self.safe), quote(v, self.safe)
289 return quote(value, self.safe)
381 def quote(value, safe): argument
384 return urllib.quote(_encode(value), safe)