Fix basic_parser::maybe_flatten (#462)

This commit is contained in:
Vinnie Falco committed 2017-06-10 06:45:11 -07:00
1 parent 76402f7d92
commit b64e6d312d
3 files changed
+9 -2

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <beast/core.hpp>
#include <beast/http.hpp>
#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>
@@ -45,7 +46,7 @@ int main()
beast::http::write(stream, req);
// Receive and print HTTP response using Beast
beast::multi_buffer b;
beast::flat_buffer b;
beast::http::response<beast::http::dynamic_body> resp;
beast::http::read(stream, b, resp);
std::cout << resp;