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
HTTP Request/Response
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: HTTP Request/Response
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
Install a packet analyzer.
Re: HTTP Request/Response
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.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.
- phazorRise
- Forum Contributor
- Posts: 134
- Joined: Mon Dec 27, 2010 7:58 am
Re: HTTP Request/Response
i guess it's done using IP address. It's roots are in TCP/IP model.then how server identifies to which client to send the response
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.