I understand that HTTP chunk is something like this
HTTP/1.1 200 OK
Content-Type: text/plain
Transfer-Encoding: chunked
7\r\n
Mozilla\r\n
9\r\n
Developer\r\n
7\r\n
Network\r\n
0\r\n
\r\n
When server send response data to client, should the server send the data chunk by chunk?
For example,
server ==> client, first send headers, then first chunk:
7\r\n
Mozilla\r\n
then second chunk, and so on.
Can server send the data like follows:
first write
7\r\n
Mozill
second write
a\r\n
9\r\n
Developer\r\n
7\r\n
and so on?