Make JSON requests allow text/javascript content
This commit is contained in:
parent
049fef5888
commit
b3244d8e57
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue