HttpClient GetAsync 响应内容与 Fiddler 给我的内容不同

HttpClient GetAsync response content is different from what Fiddler is giving me

我是 运行 使用 HttpClient.GetAsync 的 GET 请求。

然后我使用 Fiddler 来捕获这个请求并查看它返回的内容:

    var response = await http.GetAsync("http://app.creditsafeuk.com/CSUKLive/webpages/CompanySearch/SearchResults.aspx?SelectedCountry=UK");
    response.EnsureSuccessStatusCode();
    var html = await response.Content.ReadAsStringAsync();

这个请求在我的 C# 应用程序中发送,然后用 fiddler 捕获。

即使是完全相同的请求,响应中的 html 也不同。

Here is the HTML I'm getting from Fiddler

And this is the HTML that is being returned with the HttpClient

非常感谢任何帮助,我似乎无法弄清楚为什么我会得到两个不同的版本,即使 Fiddler 正在捕获我的程序正在发送的相同请求。

我知道是什么了。

事实证明,在调试过程中,如果字符串太长,文本可视化工具实际上会截断部分字符串。所以,我需要的实际上在那里,但是当我复制和粘贴时,Text Visualiser 没有给我。