From: Dean M. B. <mik...@gm...> - 2008-09-10 03:34:06
|
Hi Allister! On Wed, Sep 10, 2008 at 6:05 AM, Allister Levi Sanchez <all...@gm...> wrote: > Hi folks, > > I've created a new python server that provides all the headers (as defined > in RFC 2616). I created a handler based on CGIHTTPRequestHandler (which > already provides HEAD, POST, and GET). I've also placed methods for PUT, > DELETE, TRACE, etc., although for the moment all they do is return a 405 > error. Once I get to reading the HTTP specs, I might have a better idea on > how to implement them. But if you know what to do, go ahead and try your > python kungfu on the methods I've prepared. :-) > > The new server is in server/http_test_server.py and it is now called from > server/http_test_server.cpp. In server/cgi-bin/requestinfo.py, I also added > sample code on how to get these headers -- although it should be pretty > obvious ;-) > Sweet! Thanks. :-D Would love to see more tests in localhost_test that take advantage of this new testing server. :-D > Cheers, > Allister > Thanks Allister! :-) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |