3

在我的文章OwinMiddleware中,我只是写给正文:

await context.Response.Body.WriteStringAsync("Hey There");

我在 Fiddler 中得到的原始响应是:

HTTP/1.1 200 OK
Transfer-Encoding: chunked
Server: Microsoft-HTTPAPI/2.0
Date: Fri, 13 May 2016 16:00:07 GMT

A
/hey/there
5
there
9
Hey There
26
{ec86d5c7-4ea4-437f-be2a-4e294b655227}
0

而 Fiddler 正在说这个编码(带有一条消息说请点击这里解码)

单个字母和数字不是我的。我用大括号写了/hey/thereandthereHey Thereand 。Guid

如何获得纯文本响应?

4

0 回答 0