Merge pull request #148 from jakeboxer/patch-1
Make JSON requests allow text/javascript content
This commit is contained in:
commit
4c71f35266
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user