modified three files:httphandler.py, main.py, xmlhandler.py