EOF-file missing

2005-04-14 Thread Tor Erik Sønvisen
Hi From a client I read a file into a string using read(). On the server-side (it's a HTTPServer) i access the same string through the input stream rfile. However all useful read-methods (readlines, readline, read) expect an EOF before terminating. And for some reason the stream doesn't have

Re: EOF-file missing

2005-04-14 Thread infidel
You can use the Content-Length header to tell the server how long the string is. -- http://mail.python.org/mailman/listinfo/python-list