CS2005 - Lecture 3 - Application Layer II Flashcards
(38 cards)
What does HTTP stand for?
Hypertext Transfer Protocol.
What port does HTTP use?
Port 80.
Which RFCs define HTTP 1.0 and HTTP 1.1?
RFC 1945 (HTTP/1.0) and RFC 2616 (HTTP/1.1).
What are some typical objects found in a web page?
HTML, JavaScript, Java Applets, and audio files.
How are web page objects referenced?
By a URL.
What type of protocol is HTTP?
A client/server protocol.
What is the role of a browser in HTTP communication?
Acts as the client to request, receive, and display web objects.
What does it mean that an HTTP server is stateless?
It does not retain information about past client requests.
Which transport protocol does HTTP use?
TCP.
How does the HTTP client initiate communication?
By initiating a TCP connection to the server.
What messages does an HTTP client send and receive?
HTTP request and response messages.
What are the two types of HTTP connections?
Non-persistent and persistent HTTP.
What characterizes non-persistent HTTP?
Only one object is sent over a TCP connection before it is closed.
What is required to download multiple objects with non-persistent HTTP?
Multiple TCP connections.
What characterizes persistent HTTP?
Multiple objects can be sent over a single TCP connection.
In non-persistent HTTP, what is the sequence to transfer a web page with 10 JPEGs?
Client requests HTML → Server sends HTML & closes TCP → Client finds 10 references → Repeats for each JPEG.
What does RTT stand for in HTTP?
Round Trip Time.
What factors contribute to RTT?
Packet propagation, queuing, and processing delays.
What is the response time for non-persistent HTTP?
2 RTTs + file transmission time.
How does persistent HTTP improve performance?
Uses a single TCP connection for multiple requests, reducing the number of RTTs.
What mechanism maintains user state in HTTP?
Cookies.
What components make up an HTTP cookie?
Cookie header in HTTP response, Cookie header in HTTP request, Cookie file on client system.
Why are cookies useful?
They help identify users and restrict access or personalize content.
What is the purpose of a web cache (proxy server)?
To satisfy HTTP requests on behalf of the origin server, reducing response time and network traffic.