OliverLetterer / GitHubAPI

GitHubAPI implemented with SLRESTfulCoreData.
MIT License
5 stars 0 forks source link

AFRESTfulCoreDataBackgroundQueue http header code not update #1

Closed Fykec closed 10 years ago

Fykec commented 10 years ago

Error Code,

[self.requestSerializer setValue:@"Accept" forHTTPHeaderField:@"application/json"];
[self.requestSerializer setValue:@"Content-Type" forHTTPHeaderField:@"application/json"];

But the AFRESTfulCoreDataBackgroundQueue's repo code is Ok

[self setDefaultHeader:@"Accept" value:@"application/json"];
[self setDefaultHeader:@"Content-Type" value:@"application/json"];
OliverLetterer commented 10 years ago

I dont understand.

Fykec commented 10 years ago

I found the code in GitHubAPI (AFRESTfulCoreDataBackgroundQueue) is not as new as the https://github.com/OliverLetterer/AFRESTfulCoreDataBackgroundQueue,

OliverLetterer commented 10 years ago

Thats correct, but since this repo is for demonstration purposes only, Im not offering this kind of support. But I would happily accept any kind of pull request :)

Fykec commented 10 years ago

But I found the Repo SLRESTfulCoreData( the code in Cocoapods), has the same problem, with this repo