$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-05-17 12:25:08
Dean Michael Berris wrote:
> using namespace boost::network;
> message m;
> int some_value = 100;
> m << header("some_header", some_value)
> << header("multi_value",
> tags::multi)(another_value)(some_other_value)(yet_another)
> << body("The quick brown fox jumps over the lazy dog");
>
> std::cout << http::message(m)
> (url("http://www.boost.org"))
> (method(http::post))
> << std::endl;
> std::cout << smtp::message(m)
> (to("boost_at_[hidden]")) << std::endl;
Does that mean the message won't be able to be read incrementally?