My app used to work with SID. Now trying to use the Auth header I keep
getting 401 errors.
NSString* url = @"
http://www.google.com/reader/atom/user/-/pref/
com.google/subscriptions";
NSMutableURLRequest *subscriptionRequest = [[[NSMutableURLRequest
alloc] init] autorelease];
[subscriptionRequest setURL:[NSURL URLWithString:url]];
[subscriptionRequest setHTTPMethod:@"GET"];
[subscriptionRequest setValue:[NSString
stringWithFormat:@"GoogleLogin auth=%@", AUTH]
forHTTPHeaderField:@"Authorization"];
[subscriptionRequest setValue:@"application/x-www-form-urlencoded"
forHTTPHeaderField:@"Content-Type"];
[subscriptionRequest setTimeoutInterval:30.0];
Can anyone give me any hints? I'm pretty sure I'm parsing my auth
string correctly...