Closed cosven closed 3 years ago
I do not recommend using Tornado unless you think you need it.
http://docs.python-guide.org/en/latest/scenarios/web/#django概念:Tornado is a Python web framework and asynchronous networking library.
- [ ] 为什么说是一个 asynchronous networking library?
体现在 http header 的 Host
字段。
比如 blog.c.com 或者 c.com
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
Host 字段含义:https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
A client MUST include a Host header field in all HTTP/1.1 request messages . All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message which lacks a Host header field.
不对,不是博客...是记录生活的地方...[2017-1-17] 纠正 记录小事的地方...
功能需求
low-low
高端功能