Make JSON requests allow text/javascript content

This commit is contained in:
Jake Boxer 2011-12-11 01:10:01 -08:00
parent 049fef5888
commit b3244d8e57

View file

@ -63,7 +63,7 @@ static dispatch_queue_t json_request_operation_processing_queue() {
} }
+ (NSSet *)defaultAcceptableContentTypes { + (NSSet *)defaultAcceptableContentTypes {
return [NSSet setWithObjects:@"application/json", @"text/json", nil]; return [NSSet setWithObjects:@"application/json", @"text/json", @"text/javascript", nil];
} }
+ (NSSet *)defaultAcceptablePathExtensions { + (NSSet *)defaultAcceptablePathExtensions {