出现有关状态代码的错误。case 200...299: ->错误代码:无法强制将'CountableClosedRange‘类型的值转换为'Int’类型 print(response.result) // result of response serialization
let statusCodestatusCod
我试图用HttpResponseMessage返回一条错误消息,而我所得到的只是我假设的StringContent.ToString()。response.Content.Headers.ContentType = new MediaTypeHeaderValue(ContentTypes.PlainText);}{
response.Content = new ByteArrayContent(re