"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"];
本文标题:网络请求时"Request failed: unacc
本文链接:https://www.haomeiwen.com/subject/bizirttx.html
网友评论