app built with old GData static lib failing

24 views
Skip to first unread message

mr.riddlemefish

unread,
Apr 3, 2010, 1:40:09 AM4/3/10
to Google Data APIs Objective-C Client Library Discussion
Hi, I've not been paying attention to activity here since October last
year but I'm trying to trace the cause of a crash now happening with
an app built at that time. With a rebuild on the simulator and linking
with a static GData lib built at that time I'm noticing that I can
repeatably get this error message

2010-04-03 16:05:00.800 MyApp [14075:207]
serviceBase:<GDataServiceGoogleHealth: 0x4828010>
objectFetcher:<GDataHTTPFetcher: 0x3e35120> failedWithStatus:304 data:

in the log when working with the GData Health API. It may not be
related to what's happening on the iPhone device itself, but it's a
start.

Software versions etc have moved on since then and yes I know I should
get the latest version of the GData API and rebuild for modern times
but what am I up against with this, before I get into nitty gritty?

Thank you.

Greg Robbins

unread,
Apr 3, 2010, 1:47:07 AM4/3/10
to gdata-objec...@googlegroups.com
Status 304 is "Not Modified". It means the server isn't sending a response because the data has not changed since the previous time the same URL was requested by the application.

The Objective-C library's service class has an optional cache ([service setShouldCacheDatedData:YES]) which can store the server's responses so an application does not need to see the 304 status codes.

More information is at

http://code.google.com/p/gdata-objectivec-client/wiki/GDataObjCIntroduction#Status_304_and_service_data_caching

peter mason

unread,
Apr 3, 2010, 1:55:55 AM4/3/10
to gdata-objec...@googlegroups.com
Ah, the server is smarter now. The iPad just wasn't reason enough for rebuilding but it looks like I have work to do now.
As always, thanks Greg.


--
You received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
To post to this group, send email to gdata-objec...@googlegroups.com.
To unsubscribe from this group, send email to gdata-objectivec-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gdata-objectivec-client?hl=en.

Reply all
Reply to author
Forward
0 new messages