base64 Incorrect Padding

Brandon Fredericks bfrederi at library.unt.edu
Fri Jul 31 14:08:44 EDT 2009


I did a search within this group, but couldn't find any information on
this.

I am sending base64 encoded data as the content over http using
urllib2 urlopen. When I receive the data and attempt to decode it, I
get an "Incorrect Padding" error. Is there a simple way to fix this? A
better way to send and receive the data possibly (using base64 of
course)?



More information about the Python-list mailing list