Brandon Fredericks wrote: > 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)?
Have the server send some known data. Read it with urllib2.urlopen(). Compare with that same data that you encoded locally. What are the differences? Peter -- http://mail.python.org/mailman/listinfo/python-list