On Tuesday, April 11, 2017 at 12:00:27 AM UTC+8, iMath wrote: > > Are you sure you posted the code you are actually using? Because the > > error message suggests a difference. > > > I am sure ! > > As I have tested: If I pass the IP address of my web server to the host > parameter of HTTPHandler, the server side would show http 400 and Invalid > HTTP_HOST header message ,
Besides the http 400 and Invalid HTTP_HOST header message , there are also exceptions , pasted here https://bpaste.net/show/f2d2e64e7a7e -- https://mail.python.org/mailman/listinfo/python-list