Hi Mark,
It looks like there is a bug in
gdata.alt.appengine.AppEngineHttpClient.request. The section which
calculates the content length should be changed to:
# If the list of headers does not include a Content-Length, attempt to
# calculate it based on the data object.
if data and 'Content-Length' not in all_headers:
all_headers['Content-Length'] = str(len(data_str))
(Note the addition of str above.) It seems that setting the HTTP
header to an int causes an error when running on App Engine, but not
when testing using the SDK. I'll make sure that this is fixed in the
next release.
Thank you,
Jeff