Permalink
Browse files

Fix bug on jsonContentTypes array (missing text/json MIME type)

	-> This bug generate an error when try to set JSON Human readable because it wasn't recognize to JSON format
  • Loading branch information...
1 parent 36a0456 commit 633d54600867057da3ef4f5919affddf8ad3bac3 Vincent Saluzzo 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 633d546

Please sign in to comment.