Module urlparse has no urlencode() function in Python 2.x.