diff --git a/AFNetworking/AFJSONRequestOperation.m b/AFNetworking/AFJSONRequestOperation.m index c3cbdca..294f724 100644 --- a/AFNetworking/AFJSONRequestOperation.m +++ b/AFNetworking/AFJSONRequestOperation.m @@ -63,7 +63,7 @@ static dispatch_queue_t json_request_operation_processing_queue() { } + (NSSet *)defaultAcceptableContentTypes { - return [NSSet setWithObjects:@"application/json", @"text/json", nil]; + return [NSSet setWithObjects:@"application/json", @"text/json", @"text/javascript", nil]; } + (NSSet *)defaultAcceptablePathExtensions {