During an http request, what determines the number and size of data packets for the response? Does this depend upon the Accept header?
For example, would a request for application/json result in a single data packet provided that the data is less than some maximum size, while a request for an application/octet-stream result in multiple packets?
edit: I am particularly interested in the number of data packets chosen and how it is chosen. The possible duplicate question linked makes no mention of that.