Hi folks!
I'm writing my own web server in python, and I'm getting problems to handle
POST requests.
This is a snippet of my code (of an HttpRequest class):
try:
length = int(self.myRequestHandler.headers.get('content-length', 0))
except ValueError:
length = 0
pdata = self.myRequestHandler
Hi folks
I have a question for this mailing list.
When I'm writing a class, I can rewrite the method __getattr__() to modify
the object's method/attribute access behavior.
My question is: can I code a method __getattr__() to change the behavior of
the 'import' command?
--
Rodolfo Carvalho
Hi,
I'm working with a 100% dependecy-free web app for python, and I'm
taking an overview about HTTPServer and CGIHTTPRequestHandler. In my
researches, I don't found anything about HTTP Sessions... Can
python natively hadle http sessions, or I'll must write with by hand?
Rodolfo.
--
http://mail