From: David H. <dav...@gm...> - 2011-01-11 16:59:58
|
On Tue, Jan 11, 2011 at 9:51 AM, Dean Michael Berris <mik...@gm... > wrote: > On Wed, Jan 12, 2011 at 12:26 AM, David Hite <dav...@gm...> wrote: > > Hello, > > I am trying to parse the incoming query in a request to the synchronous > > server. I see that there is a "query" method on the HTTP Normal Client > > Request but not the Pod Server Request. I can't find any example of the > > server request query parameters. > > > > Is there a simple way to pull out the "?" query portion of the uri? > > > > I am able to get the destination(request) method to work and could do > some > > string parsing but I figured there is a better way... > > > > David, I'm afraid parsing the query string on your own would be the > way to go at the moment. It shouldn't be too hard to do with either > Boost.Regex or Boost.Xpressive (if you're adventurous using > Boost.Spirit would be a good exercise too). > > I was planning to work on some of these utilities to be made part of a > beginnings of a web library (note, not a framework) but I ran into > some time sucks (work, family, and contributing to larger open source > projects like Boost) preventing me from making progress in that front. > > I remember someone else in the list wanted this as a features, and if > you can file it in http://github.com/cpp-netlib/cpp-netlib/issues I > promise I'll get to it soon as I get time to do it. > > Thanks and I'm sorry I couldn't be much help on this one. > > -- > Dean Michael Berris > about.me/deanberris > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Cpp-netlib-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel > No problem! Good to know I wasn't missing something. -Dave |