IronsDu / brynet

A Header-Only cross-platform C++ TCP network library . We can use vcpkg(https://github.com/Microsoft/vcpkg/tree/master/ports/brynet) install brynet.
MIT License
1.04k stars 241 forks source link

HttpFormat.hpp第114行void setBody(std::string&& body)会导致Content-Length: 0, 请求失败 #96

Closed tonyonce2017 closed 3 years ago

tonyonce2017 commented 3 years ago

如题

tonyonce2017 commented 3 years ago

写错了, 不是114行, 函数没错, 是void setBody(std::string&& body)这个函数

IronsDu commented 3 years ago

感谢。待会儿修复。

IronsDu commented 3 years ago

@tonyonce2017 已修复(提交在Master主干),还请测试验证下呢。

tonyonce2017 commented 3 years ago

@tonyonce2017 已修复(提交在Master主干),还请测试验证下呢。

经测试已经OK了

IronsDu commented 3 years ago

感谢提供issue。