I'm receiving from server content-type: application/hal+json;charset=UTF-8. And app crashes with
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Assertion failed with expression ([responseObject isKindOfClass:[NSDictionary class]]) in MMRestTransporter.m:480 -[MMRestTransporter executeSuccessBlock:platformReturnType:controllerReturnType:responseObject:responseClass:]. responseObject should be a dictionary'
Because AFNetworking return nil for non acceptable content type.
It's possible to set acceptable content type for request?
I'm receiving from server content-type: application/hal+json;charset=UTF-8. And app crashes with
Because AFNetworking return nil for non acceptable content type. It's possible to set acceptable content type for request?