Permalink
Browse files

Merge pull request #10 from vincentsaluzzo/master

Fix a Bug: "text/json" MIME-Type wasn't set to JSON MIME type
  • Loading branch information...
2 parents 36a0456 + 633d546 commit 94200e4749bb8480553b7007d30dfb07880d39d8 @mmattozzi committed Oct 19, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 CocoaRestClient.xcodeproj/project.pbxproj
  2. +1 −1 CocoaRestClientAppDelegate.m
@@ -450,7 +450,7 @@
INFOPLIST_FILE = "CocoaRestClient-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_NAME = CocoaRestClient;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
};
name = Debug;
};
@@ -471,7 +471,7 @@
INFOPLIST_FILE = "CocoaRestClient-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_NAME = CocoaRestClient;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
};
name = Release;
};
@@ -109,7 +109,7 @@ - (id) init {
xmlContentTypes = [NSArray arrayWithObjects:@"application/xml", @"application/atom+xml", @"application/rss+xml",
@"text/xml", @"application/soap+xml", @"application/xml-dtd", nil];
- jsonContentTypes = [NSArray arrayWithObjects:@"application/json", nil];
+ jsonContentTypes = [NSArray arrayWithObjects:@"application/json", @"text/json", nil];
[self loadDataFromDisk];

0 comments on commit 94200e4

Please sign in to comment.