Chapter 2 final exam Flashcards
Name 3 Characteristics associated with client-server approach to structuring network applications
1.
There is a server with a well known server IP address
2.HTTP uses this application structure.
3.There is a server that is always on.
Name 2 Characteristics associated with P2P approach to structuring network applications:
- There is not a server that is always on
- A process requests service from those it contacts and will provide service to processes that contact it.
Which of the following pieces of information will appear in a server’s application-level HTTP reply message?
A response code
A response phrase associated with a response code
When an application uses a TCP socket, what transport services are provided to the application by TCP?
Flow Control, Congestion Control and reliable data transfer
What is meant by HTTP being Stateless?
Server maintains no information about clients
What is an HTTP cookie used for?
A cookie is a code used by a SERVER, carried on a client’s HTTP request, to access information the server had earlier stored about an earlier interaction with this Web browser. [Think about the distinction between a browser and a person.]
What is the purpose of the HTTP GET message?
The HTTP GET request message is used by a web client to request a web server to send the requested object from the server to the client.
What is the purpose of the conditional HTTP GET request message?
To allow a server to only send the requested object to the client if this object has changed since the server last sent this object to the client.
What are some advantages of using a web cache?
FASTER PAGE LOAD TIME.Caching generally provides for a faster page load time at the client, if the web cache is in the client’s institutional network, because the page is loaded from the nearby cache rather than from the distant server.
2.Caching uses LESS BANDWIDTH coming into an institutional network where the client is located, if the cache is also located in that institutional network.
What are some differences between HTTP1.1 and 2?
1) HTTP/2 allows a LARGE OBJECT to be broken down into SMALLER PIECES, and the transmission of those pieces to be interleaved with transmission other smaller objects, thus preventing a large object from forcing many smaller objects to wait their turn for transmission.
2)
HTTP/2 allows objects in a PERSISTENT CONNECTION to be sent in a client-specified PRIORITY ORDER.
What is the purpose of the If-Modified-Since field in a HTTP GET request message
To indicate to the SERVER that the CLIENT has cached this object from a previous GET, and the time it was cached.
What is the purpose of a cookie value in the HTTP GET request?
The cookie value itself doesn’t mean anything. It is just a value that was returned by a web server to this client during an earlier interaction.
name three characteristics that apply to HTTP only
Operates mostly as a “client pull” protocol.
Uses server port 80.
Uses a blank line (CRLF) to indicate end of request header.
name three characteristics that apply to SMTP only
Uses server port 25.
Uses CRLF.CRLF to indicate end of message.
Operates mostly as a “client push” protocol.
Name 2 characteristics that apply to BOTH HTTP and SMTP
Is able to use a persistent TCP connection to transfer multiple objects.
Has ASCII command/response interaction, status codes.