在使用afnetworking的时候请求网络有时候会报这个错误
Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo=0x7f83b847eb20
这个时候请注意后面的参数content-type: text/plain,根据这个参数不同设置请求管理的参数,例子如下
AFHTTPRequestOperationManager *mgr = [AFHTTPRequestOperationManager manager];
mgr.responseSerializer.acceptableContentTypes = [NSSetsetWithObject:@"text/plain"];
根据报错参数不同来设置这个参数就好。。