The implementation of HTTP header Logic

recently reading "schematic HTTP", there is no problem with the understanding of the protocol, but there is some confusion in the logical implementation.

  1. who completes the segmentation and splicing of HTTP messages when transmitting in blocks? The segmentation is carried out in Server, so is the Web gateway (such as Nginx and other servers) or the Web framework (Flask,Tornado, etc.) to complete the segmentation? The same stitching task is done by the browser or the front-end code?
  2. The functional implementation of the header field of
  3. HTTP, for example, the following request header field If-xxx , is its logical implementation written in the business code by the Web framework of the server or when the Web application is developed?

clipboard.png

Mar.07,2021

depends on the architecture of your server. For example, if your predecessor is directly Nginx, then these processes may be done by Nginx (or you can put them in Nginx-Lua); if there is no Nginx in the previous level, Node.js will take over everything directly, then these may be handled by Node.js. HTTP here just tells you how to run a network communication specification, and the specific implementation depends on how the server is structured.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea0bd2-1aff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea0bd2-1aff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?