示例#1
0
	def urlDecode(self, s):
		"""Alias for `WebUtils.Funcs.urlDecode`.

		Turns special % characters into actual characters.

		"""
		return Funcs.urlDecode(s)
示例#2
0
    def urlDecode(s):
        """Turn special % characters into actual characters.

        This method does the same as the `urllib.unquote_plus()` function.

        """
        return Funcs.urlDecode(s)
示例#3
0
    def urlDecode(s):
        """Turn special % characters into actual characters.

        This method does the same as the `urllib.unquote_plus()` function.
        """
        return Funcs.urlDecode(s)
示例#4
0
文件: TestFuncs.py 项目: Cito/w4py
 def testUrlRoundTrip(self):
     t = '<test>\n\t"50% = 50,50?"\n</test>'
     self.assertEqual(Funcs.urlDecode(Funcs.urlEncode(t)), t)
示例#5
0
 def urlDecode(self, s):
     return Funcs.urlDecode(s)
示例#6
0
 def testUrlRoundTrip(self):
     t = '<test>\n\t"50% = 50,50?"\n</test>'
     self.assertEqual(Funcs.urlDecode(Funcs.urlEncode(t)), t)