Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 94200e4749bb8480553b7007d30dfb07880d39d8 2 parents 36a0456 + 633d546
@mmattozzi authored
View
4 CocoaRestClient.xcodeproj/project.pbxproj
@@ -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;
};
View
2  CocoaRestClientAppDelegate.m
@@ -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];
Please sign in to comment.
Something went wrong with that request. Please try again.