amfr wrote:
> Thanks, but when I try to read the stream using read(), the script just
> keeps on going and does not stop. When i press ctrl + c, the script
> shows thsi (top of error taken off):
> File "modules/runpython.py", line 88, in runModule
> sys.stdin = self.rfile.read()
> File
> "/
Thanks, but when I try to read the stream using read(), the script just
keeps on going and does not stop. When i press ctrl + c, the script
shows thsi (top of error taken off):
File "modules/runpython.py", line 88, in runModule
sys.stdin = self.rfile.read()
File
"/System/Library/Frameworks/
"amfr" wrote:
> A little while ago, someone told me that for the BaseHTTPServer module,
> the whole request would be stored in self.rfile.
> I looked at the doumentation and is says rfile is:
> "Contains an input stream, positioned at the start of the optional
> input data."
> How do i get the inp
A little while ago, someone told me that for the BaseHTTPServer module,
the whole request would be stored in self.rfile.
I looked at the doumentation and is says rfile is:
"Contains an input stream, positioned at the start of the optional
input data."
How do i get the input out of it?
--
http://