Page 1 of 1

HTTP Request/Response

Posted: Tue Jun 28, 2011 6:07 am
by mudgil.gaurav
Hi All,

When a client/browser sends request to web server , then how server identifies to which client to send the response.I am aware of the request/response headers used by the web server to identify the request.But i am not able to clearly plot the information.

Can any one help me explore this topic in more details from request to response process.Like when client sends an request what are the parameters sent by the client to the server and what server sends back to the client.

Any help would be greatly appreciated.

Thanks
Gaurav

Re: HTTP Request/Response

Posted: Tue Jun 28, 2011 9:40 am
by John Cartwright
There is an established connection at the TCP/IP layer. It doesn't need to know which client to send back to (which means nothing uniquely identifying in the headers), because it has an established connection already and can just stream data back and forth.

Re: HTTP Request/Response

Posted: Tue Jun 28, 2011 9:31 pm
by McInfo
Install a packet analyzer.

Re: HTTP Request/Response

Posted: Wed Jun 29, 2011 8:26 am
by Eric!
mudgil.gaurav wrote:Like when client sends an request what are the parameters sent by the client to the server and what server sends back to the client.
Take a look at the Firefox add-on Tamper Data to intercept requests. It also works for viewing data that might not work with a packet analyzer if the site uses https encrypted packets.

Re: HTTP Request/Response

Posted: Wed Jun 29, 2011 8:47 am
by phazorRise
then how server identifies to which client to send the response
i guess it's done using IP address. It's roots are in TCP/IP model.
follow http://www.tcpipguide.com/free/t_TCPCon ... ndsh-3.htm .
it's done automatically, so need to think much about it and anyways we can't change those standards.