Describe the process that happens when you click a link in your web browser to fetch another web page.
The URL of the link is given to the browser engine, which opens a TCP/IP connection to the
address listed in the URL. Assuming the URL specifies the HTTP protocol, and assuming no port
is given in the URL, the connection is made to port 80 of the remote host. Various options may be
specified in the HTTP headers which effect the expected behavior between client and host, an
important and common option being "Connection: Keep-alive"; if this option is specified, the same
connection is used to transfer all resources on the page (images, frames, sounds, flash animations,
etc.), thus avoiding the overhead of establishing a separate TCP/IP connection for each resource the
page requires to be loaded. Requests are made by issuing an HTTP "GET" command, followed by
the resource requested. A single GET command may cause the client to request multiple resources
(hence the existence of the keep-alive option). Finally, under normal circumstances, the connection
is closed after all resources are done loading ("Connection: Close" option is specified in the client's
final request header).
address listed in the URL. Assuming the URL specifies the HTTP protocol, and assuming no port
is given in the URL, the connection is made to port 80 of the remote host. Various options may be
specified in the HTTP headers which effect the expected behavior between client and host, an
important and common option being "Connection: Keep-alive"; if this option is specified, the same
connection is used to transfer all resources on the page (images, frames, sounds, flash animations,
etc.), thus avoiding the overhead of establishing a separate TCP/IP connection for each resource the
page requires to be loaded. Requests are made by issuing an HTTP "GET" command, followed by
the resource requested. A single GET command may cause the client to request multiple resources
(hence the existence of the keep-alive option). Finally, under normal circumstances, the connection
is closed after all resources are done loading ("Connection: Close" option is specified in the client's
final request header).
Comments
Post a Comment
https://gengwg.blogspot.com/