LuyWeb
LuyWeb copied to clipboard
http header information
- url
- header
- version
- method
http链接不必非得断掉,只要在头部设置keep_alive,服务器做相应的处理就可以避免重复开启链接。
当我们输出http协议时,content-length
非常重要,不然客户端会一直等待
http链接不必非得断掉,只要在头部设置keep_alive,服务器做相应的处理就可以避免重复开启链接。
当我们输出http协议时,content-length
非常重要,不然客户端会一直等待