From: Divye K. <div...@gm...> - 2008-08-13 06:03:25
|
Hi, > See section 4.2 - Message Headers of RFC 2616 ( > >> http://www.faqs.org/rfcs/rfc2388.html ). > >> Headers can span multiple lines. This would require a change in the > >> processing of the headers. > > > > I meant http://www.faqs.org/rfcs/rfc2616.html > > Perhaps we should have a test for that as well to make sure there's a > bug in the client in the first place. Can you make this happen with > the Python CGI script? > Yes. It can. I'll try to do it tonight. Otherwise it will have to wait for the weekend after next as I have a wedding in the family to take care of over the next few days. > > Right now the client does not have a constructor. We can make use of > the Boost.Parameter lib to make some of the options easily defined in > the client constructor -- like redirect, authentication information, > proxy, etc. I'm also thinking for having an overload to each method > that allows you to define these options in each call. > Good idea. > > If we can have the Python CGI test return a redirect, perhaps we can > expose the bug and test it as well. > The python CGI cannot return a redirect response due to the way the response headers are created in the python library code. It pre-empts a 3xx response by sending a 200 response before calling the CGI script. As of now, we need to find another way to do it: maybe a simple asio app that redirects a request to a url on the python server? > > How's the POST handler going? :D > The wedding's going to push things back for me for a while, so it will be on the hold list. :( 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 |