为什么从 .Net framework 4.6.1 调用 AWS APIGateway 会出现内部服务器错误,而 .net 6.0 会出现正常状态?

Why calling AWS APIGateway from .Net framework 4.6.1 gives internal server error unlike .net 6.0 gives OK status?

为什么从 .Net framework 4.6.1 调用 AWS APIGateway 会出现内部服务器错误,而 .net 6.0 会出现正常状态。 使用 httpclient 的完全相同的代码和相同的超时 30 秒。

因为我使用的是 httpruntime 4.5.1。我将其替换为 4.6.1 Whosebug runtime version issue