Home
last modified time | relevance | path

Searched refs:quote_plus (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_urllib.py574 result = urllib.quote_plus(do_not_quote)
588 result = urllib.quote_plus(quote_by_default, safe=quote_by_default)
605 result = urllib.quote_plus(char)
616 result = urllib.quote_plus(partial_quote)
627 result = urllib.quote_plus(' ')
636 result = urllib.quote_plus(given)
641 self.assertEqual(urllib.quote_plus('alpha+beta gamma'),
643 self.assertEqual(urllib.quote_plus('alpha+beta gamma', '+'),
791 expect = "sequence=%s" % urllib.quote_plus(str(['1', '2', '3']))
/external/python/cpython3/Lib/test/
Dtest_urllib.py772 result = urllib.parse.quote_plus(do_not_quote)
786 result = urllib.parse.quote_plus(quote_by_default,
822 result = urllib.parse.quote_plus(char)
833 result = urllib.parse.quote_plus(partial_quote)
843 result = urllib.parse.quote_plus(' ')
852 result = urllib.parse.quote_plus(given)
857 self.assertEqual(urllib.parse.quote_plus('alpha+beta gamma'),
859 self.assertEqual(urllib.parse.quote_plus('alpha+beta gamma', '+'),
862 self.assertEqual(urllib.parse.quote_plus(b'alpha+beta gamma'),
865 self.assertEqual(urllib.parse.quote_plus('alpha+beta gamma', b'+'),
[all …]
/external/python/cpython3/Tools/scripts/
Dgoogle.py18 return urllib.parse.quote_plus(arg)
/external/python/cpython2/Lib/
Durllib.py1300 def quote_plus(s, safe=''): function
1341 k = quote_plus(str(k))
1342 v = quote_plus(str(v))
1346 k = quote_plus(str(k))
1348 v = quote_plus(v)
1354 v = quote_plus(v.encode("ASCII","replace"))
1362 v = quote_plus(str(v))
1367 l.append(k + '=' + quote_plus(str(elt)))
/external/python/cpython3/Lib/urllib/
Dparse.py826 def quote_plus(string, safe='', encoding=None, errors=None): function
866 quote_via=quote_plus):
/external/python/cpython3/Doc/library/
Durllib.parse.rst518 .. function:: quote_plus(string, safe='', encoding=None, errors=None)
525 Example: ``quote_plus('/El Niño/')`` yields ``'%2FEl+Ni%C3%B1o%2F'``.
577 errors=None, quote_via=quote_plus)
588 function. By default, :func:`quote_plus` is used to quote the values, which
/external/python/cpython2/Doc/library/
Durllib.rst239 .. function:: quote_plus(string[, safe])
267 *value* are quoted using :func:`quote_plus` above. When a sequence of
/external/python/six/documentation/
Dindex.rst721 * :func:`py2:urllib.quote_plus`
/external/python/cpython3/Doc/whatsnew/
D3.2.rst2241 :func:`~urllib.parse.quote_plus` for encoding::
/external/python/cpython2/Misc/
DHISTORY8665 quote_plus functions so that the always encode a comma.
11667 obscure bug in quote_plus(). Added urlencode(dict) -- convenience
13727 quote_plus() and unquote_plus() functions which are like quote() and
/external/python/cpython3/Misc/
DHISTORY14735 - Issue #6118: urllib.parse.quote_plus ignored the encoding and errors
16495 [un]quote_plus() are also affected.
26044 quote_plus functions so that the always encode a comma.
29046 obscure bug in quote_plus(). Added urlencode(dict) -- convenience
31106 quote_plus() and unquote_plus() functions which are like quote() and