Boost logo

Boost Users :

Subject: Re: [Boost-users] url encoding
From: Philipp Kraus (philipp.kraus_at_[hidden])
Date: 2011-07-25 13:34:04

On 2011-07-25 14:34:55 +0200, Klaim - Joël Lamotte said:
> On Mon, Jul 25, 2011 at 13:07, Kraus Philipp
> <philipp.kraus_at_[hidden]> wrote:
> Hello,
> does boost support any url encoding structures? I would like to
> transform a std::string with spaces and other chars to the correct url
> representation (space will be changed to %20 ...).
> Thanks
> Hi,
> I'm not sure there is something exactly like the structure you want in
> Boost.NetWork (wip, not reviewed yet)
> maybe it will help? 
> I glanced a few minutes but didn't find exactly what you need, I think
> maybe there is an internal type that does this.
> Joël Lamotte

Thanks for the link. I have checked the examples on Boost.ASIO eg

but on this example the line
s << "GET " << argv[2] << " HTTP/1.0\r\n";
adds the url to the stream, but it seems the
boost::asio::ip::tcp::iostream create the url encoding, does it?
I don't find any information within the documentation


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at