Re: [Tutor] Handling post request

2009-01-28 Thread Alan Gauld
"Tiago Katcipis" wrote thank you all for the help but i have finnaly been able to do what i wanted. I will not use CGI scripts, its very simple what im doing and i just wanted the parameters sent on the POST like: * "name1=value1&name2=value2&name3=value3"* The cgi module would have given

Re: [Tutor] Handling post request

2009-01-28 Thread Tiago Katcipis
thank you all for the help but i have finnaly been able to do what i wanted. I will not use CGI scripts, its very simple what im doing and i just wanted the parameters sent on the POST like: * "name1=value1&name2=value2&name3=value3"* but reading about CGI i discovered that the size of these param

Re: [Tutor] Handling post request

2009-01-28 Thread Justin Ezequiel
> From: Tiago Katcipis > > I am trying to make a small HTTP server on python just to handle some POST > and GET requests. I never worked with http before and dont know if i am > doing something completely stupid (probably yes). I read anything possible > already and i just cant find how i access t

Re: [Tutor] Handling post request

2009-01-28 Thread Tiago Katcipis
actualy i have found what i wanted on the rfile attribute, i already tried before to read it but the application just freezes when i try to read() or readline() on it. But after i make the request, and both client and server sides freezes, if i kill the client side the server becomes able of readin

Re: [Tutor] Handling post request

2009-01-28 Thread Tiago Katcipis
thanks for the help, im really not used on doing web stuff, ill try reading the how to. On Wed, Jan 28, 2009 at 9:03 AM, Alan Gauld wrote: > "Tiago Katcipis" wrote > > I am trying to make a small HTTP server on python just to handle some POST >> and GET requests. I never worked with http before

Re: [Tutor] Handling post request

2009-01-28 Thread Alan Gauld
"Tiago Katcipis" wrote I am trying to make a small HTTP server on python just to handle some POST and GET requests. I never worked with http before and dont know if i am doing something completely stupid (probably yes). Not stupid so much as overly complicated. The cgi module will do all t

[Tutor] Handling post request

2009-01-28 Thread Tiago Katcipis
I am trying to make a small HTTP server on python just to handle some POST and GET requests. I never worked with http before and dont know if i am doing something completely stupid (probably yes). I read anything possible already and i just cant find how i access the information sent on the POST re