[PythonCE] SimpleHTTPServer

Belyaev Dmitry rumata-estor at nm.ru
Wed Aug 2 11:19:01 CEST 2006

Sorry, but your server failes with the error I described earlier. Did you try to use Internet Explorer on PDA to connect to your server?
My opinion is that Internet Explorer on WinCE doesn't work like SimpleHTTPServer expects.

Hello, Орехов Антон
Ср, 02.08.2006 08:37:05 you wrote:

ОА> See http://i-quiet.narod.ru/
ОА> HTTPserver.zip
ОА> Anton Orekhov
ОА> >I tried to write simple http server on my PDA.
ОА> >------------------------------
ОА> >import SimpleHTTPServer as Handler
ОА> >import BaseHTTPServer as Server
ОА> >
ОА> >h = Handler.SimpleHTTPRequestHandler
ОА> >s = Server.HTTPServer(('localhost', 80), h)
ОА> >s.serve_forever()
ОА> >------------------------------
ОА> >It works on Desktop, but failes on PDA with the following error:
ОА> >------------------------------
ОА> >Exception happened during processing of request from ('', 1026)
ОА> >Traceback (most recent call last):
ОА> >   File "binaries\lib\SocketServer.py", line 222, in handle_request
ОА> >   File "binaries\lib\SocketServer.py", line 241, in process_request
ОА> >   File "binaries\lib\SocketServer.py", line 254, in finish_request
ОА> >   File "binaries\lib\SocketServer.py", line 521, in __init__
ОА> >   File "binaries\lib\BaseHTTPServer.py", line 316, in handle
ОА> >   File "binaries\lib\BaseHTTPServer.py", line 299, in handle_one_request
ОА> >   File "binaries\lib\socket.py", line 340, in readline
ОА> >error: (10054, 'Connection reset by peer')
ОА> >------------------------------
ОА> >Is it error in Internet Explorer CE or in PythonCE?
ОА> >_______________________________________________
ОА> >PythonCE mailing list
ОА> >PythonCE at python.org
ОА> >http://mail.python.org/mailman/listinfo/pythonce
ОА> -- 
ОА> Сегодня удачный день, чтобы завести почту на Яндексе http://mail.yandex.ru
ОА> __________

ОА> http://www.newhost.ru - Уютный дом для Вашего сайта!

Belyaev Dmitry
www.newmail.ru -- Новая Почта для нового поколения.

More information about the PythonCE mailing list