From: Glyn M. <gly...@gm...> - 2010-02-11 16:35:24
|
Hi Dean, On 11 February 2010 15:25, Dean Michael Berris <mik...@gm...>wrote: > I was thinking about this a little and thought it would be cool to > have a collection of utilities of commonly-performed actions that > others might find useful in the library. Off the top of my head I find > that these would be cool functions/mini-libraries to have: > > * MIME Parser (Marshall Clow has a cool one worthy of more attention > and discussion, hopefully he merges it into cpp-netlib in time for > BoostCon 2010 ;) ). > Where can I get this? Does Marshall intend to merge his work into cpp-netlib or submit it directly to boost? > * Form encoding/decoding (for HTTP clients/servers to handle HTML > form encoded data) > Yes, something in namespace `boost::network::http::forms` ? > * Query string encoding/decoding (for GET queries) This has been proposed before, but I don't think it's ever been implemented. * Base64 stream/string encoding/decoding (for Binary data) > Boost.Serialization already defines base64 encoding/decoding functions, and I would guess that the MIME implementation you mentioned above would too. * URI pattern-based dispatch (ala Rails, or Django/Tornado) > Cool. > > I find myself wanting to write these myself or at least using them > when I write programs that use cpp-netlib. Simple things like for HTTP > server based applications I want to be able to parse a list of > parameters (remembering what Jeroen was proposing to do with the URI > parser one time). > > Any takers? It would be cool if we had these in the library before May > where I will be presenting the library and the techniques used in the > library at a high level. ;) > > Can you add them to the issue tracker, and maybe also to the wiki? This way, anyone who is interested in participating can find something to do. G |