Merge commit 'd9aed92fb44261826df081a78b03083978f15503' into pullstream
This commit is contained in:
commit
d5b2bfe647
@ -369,7 +369,7 @@ public:
|
|||||||
|
|
||||||
// Send the headers:
|
// Send the headers:
|
||||||
m_Link->Send(fmt::format(FMT_STRING("Host: {}\r\n"), m_ParentRequest.m_UrlHost));
|
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)
|
for (const auto & hdr: m_ParentRequest.m_Headers)
|
||||||
{
|
{
|
||||||
m_Link->Send(fmt::format(FMT_STRING("{}: {}\r\n"), hdr.first, hdr.second));
|
m_Link->Send(fmt::format(FMT_STRING("{}: {}\r\n"), hdr.first, hdr.second));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user