From: Dean M. B. <mik...@gm...> - 2008-10-22 07:22:35
|
Hi Kim, On Tue, Oct 21, 2008 at 8:48 PM, Kim Gräsman <kim...@gm...> wrote: > Hi Dean, > > On Tue, Oct 21, 2008 at 12:27, Dean Michael Berris > <mik...@gm...> wrote: >> >> Okay. Can you try integrating (i.e. merging your changes) with >> http_integration to make the request object use the refactored URI >> implementation? > > I tried, but I got stuck in the tag/traits confusion again. The traits > associated with boost::network::http::message_tag are named > differently from the ones bundled with boost::network::tags::default_, > so when I try to use the basic_request tag with basic_uri, > ostringstream's type is no longer available. > > I tried adding a specialization in boost::network::http called > ostringstream, but the compiler lets me know that "symbol cannot be > defined within namespace 'http'", presumably because it's defined in > boost::network already. > Right. Try specializing ostringstream in boost::network and specialize it for boost::network::http::message_tag and see if that works? Or, if you're up for it, you can rename the traits for boost::network::http::message_tag to look like the traits used for boost::network::tags::default_. ;-) HTH -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |