From: Divye K. <div...@gm...> - 2008-09-08 12:58:48
|
Hi Dean, On Mon, Sep 8, 2008 at 10:55 AM, Dean Michael Berris <mik...@gm... > wrote: > Hi Divye, > > When you say "there are a couple of bugs in the library", which > library are you referring to? > The python CGI library. > > And what exactly is the bug? A simple get request sets the content-type header to be application/x-www-form-urlencoded. This is an issue with the Python CGI library. Other than this minor bug, I haven't found any major issues with the code and I don't think any of the tests break. > > > I'm thinking of refactoring the entire file to make parsing of the > response > > easy. > > What would be the ideal response from the CGI script? CSV, XML or > something > > else? > > Currently, the response is rather kludgy to parse. > > > > Tab/space separated values work -- they can easily be parsed through > std::ostringstream's -- as well as doing a '\n' delimited lines for > pseudo-CSV. > Ok. > > > Comments would be helpful. > > HTH > Sure did. > > (BTW, I'll take a look at your code to see if anything breaks in > cpp-netlib) > Sure. Divye -- An idealist is one who, on noticing that a rose smells better than a cabbage, concludes that it will also make better soup. H. L. Mencken (1880 - 1956) My official web site: http://people.iitr.ernet.in/shp/061305/ Webmaster: http://www.drkapoorsclinic.com Blog: http://divyekapoor.blogspot.com |