mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-12 22:40:25 +08:00
Ensure serializationMIMEType is configured when initializing object loaders via loaderWithURL: or loaderWithResourcePath: fixes #567
This commit is contained in:
@@ -361,6 +361,7 @@ static dispatch_queue_t defaultMappingQueue = nil;
|
||||
}
|
||||
|
||||
- (void)configureObjectLoader:(RKObjectLoader *)objectLoader {
|
||||
objectLoader.serializationMIMEType = self.serializationMIMEType;
|
||||
[self configureRequest:objectLoader];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user