Hi,
I'm trying to upgrade my project to the latest obj-c client. I get the
following assert when executing the code below:
GDataHTTPUploadFetcher.m:241
NSAssert([[self downloadedData] length] == 0,
@"unexpected response data");
Code that used to work until now:
8< ----
remoteEntry = [GDataEntryStandardDoc documentEntry];
[remoteEntry setTitleWithString:title];
[remoteEntry setUploadData:uploadData];
[remoteEntry setUploadMIMEType:@"text/plain"];
[remoteEntry setUploadSlug:title];
postURL = [[self.syncedFolderFeed postLink] URL];
self.ticket = [self.service fetchEntryByInsertingEntry:remoteEntry
forFeedURL:postURL delegate:self
didFinishSelector:@selector(remoteInsertTicket:finishedWithEntry:error:)];
8< ---
When this code executes, the document does get uploaded correctly and
the server responds with status 201. The response contains the newly
inserted entry (as expected), that's why I don't understand this
assert.
Any ideas?
Thanks,
Christoph