using HTTPHandler cause Django server side shows http 400 and Invalid HTTP_HOST header message

iMath redstone-cold at 163.com
Mon Apr 10 12:11:02 EDT 2017


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



More information about the Python-list mailing list