Merge commit 'd9aed92fb44261826df081a78b03083978f15503' into pullstream

This commit is contained in:
Rebekah 2024-02-14 06:16:48 -05:00
commit d5b2bfe647
Signed by: oneechanhax
GPG Key ID: 183EB7902964DAE5

View File

@ -369,7 +369,7 @@ public:
// Send the headers:
m_Link->Send(fmt::format(FMT_STRING("Host: {}\r\n"), m_ParentRequest.m_UrlHost));
m_Link->Send(fmt::format(FMT_STRING("Content-Length: {}\r\n"), m_ParentRequest.m_Body));
m_Link->Send(fmt::format(FMT_STRING("Content-Length: {}\r\n"), m_ParentRequest.m_Body.size()));
for (const auto & hdr: m_ParentRequest.m_Headers)
{
m_Link->Send(fmt::format(FMT_STRING("{}: {}\r\n"), hdr.first, hdr.second));