httpresponse - HTTP request and response flow for get -


i having difficulties understanding http request , response flow. working system can "hijack" incoming http request , give own response. problem having type of request seem assume data sent in first request.

for instance, jpeg image requests, no matter size (my tests include 0-20 mb jpeg files) seems assume entire data sent in first response. if don't send data , explicitly set range header 0 never response client asking data.

other data request types, such mp4 video, client seems fine getting response header information no data , sends new request explicitly asking byte range 0-.

is there kind of agreement between the client , server types should sent in 1 request while others can split in number of requests?


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -