mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
utils.web.urlencode: Encode data into bytes.
This commit is contained in:
parent
1b6be5842f
commit
3dc8e04195
@ -49,7 +49,9 @@ from str import normalizeWhitespace
|
||||
Request = urllib2.Request
|
||||
urlquote = urllib.quote
|
||||
urlunquote = urllib.unquote
|
||||
urlencode = urllib.urlencode
|
||||
|
||||
def urlencode(*args, **kwargs):
|
||||
return urllib.urlencode(*args, **kwargs).encode()
|
||||
|
||||
class Error(Exception):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user