"Request failed: unacceptable content-type: text/html"
不接受 text/html
设置下这个就可以了
responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"text/html"];
"Request failed: unacceptable content-type: text/html"
不接受 text/html
设置下这个就可以了
responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"text/html"];