我得到了一个API 漂亮。。。i、 它总是返回一个 200 但是 Content-Type: application/pdf 成功时和 Content-Type: application/text 当它不成功时,它的主体中有一些json。flurl是否提供了基于 Content-Type ?
200
Content-Type: application/pdf
Content-Type: application/text
Content-Type
找到了 SendAsync 方法返回 Task<HttpResponseMessage> 一旦我有了它我就可以访问 Content-Type
SendAsync
Task<HttpResponseMessage>