Re: HTTP header processing sequence
- From: Josh <no_spam@xxxxxxxxxx>
- Date: Sun, 14 May 2006 17:48:43 +0100
Roger
Thanks for this. I understand how basic functionality, but my question is more about how the browser match up all the responses send from the server from the client.
I have installed an IE extension that allows you to view all the requests made for a specific web page. Initially it sends the request for the html source (or initial url specified), and if there are any more objects to request (such as images etc) it does so, and then wait for the server to reply sending back the requested data using appropriate headers.
I am still unclear as to the exact sequence this is processed. How does the (browser) client know how to match up multiple received responses from the server with GET-requests, as this does not appear to be sequential. If you had exactly one GET-request, you could assume that the HTTP/1.1 200 OK header received corresponds to that, but what happens to multiple GET-requests?
If you looked at TCP headers, you could determine this via specific field values (counters or id numbers?) that match up send and recv packets, but is this the same for http headers? (Since we're not looking at raw TCP as this is very low level)
TIA
Roger Hunen wrote:
The browser opens a TCP connection to the server, sends a HTTP request.
and waits for the server response (status + data) before sending the next
request. So the association of request and response is no problem.
The browser may send another request over the same TCP connection
once the response to the previous request has been received and/or may
open multiple connections to the same server.
Regards,
-Roger
--
E-mail: rhunen@xxxxxxxxx
Home: http://www.xs4all.nl/~rhunen
ADSL: http://adsl.hunen.net
- Follow-Ups:
- Re: HTTP header processing sequence
- From: Arkady Frenkel
- Re: HTTP header processing sequence
- From: James Kirk
- Re: HTTP header processing sequence
- References:
- HTTP header processing sequence
- From: Josh
- Re: HTTP header processing sequence
- From: Roger Hunen
- HTTP header processing sequence
- Prev by Date: Re: UDP game packets dropped after installing windows update KB913580 - Help!
- Next by Date: Re: HTTP header processing sequence
- Previous by thread: Re: HTTP header processing sequence
- Next by thread: Re: HTTP header processing sequence
- Index(es):
Relevant Pages
|