Merge pull request #148 from jakeboxer/patch-1
Make JSON requests allow text/javascript content
This commit is contained in:
commit
4c71f35266
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue