Servers Flashcards
What is a client?
A client usually does not share any of its resources, but it requests content or service from a server. Clients, therefore, initiate communication sessions with servers, typically clients are programs
what is a server?
The server component provides a function or service to one or many clients, which initiate requests for such services. Servers are classified by the services they provide and they are usually programs.
Which HTTP method does a browser issue to a web server when you visit a URL?
GET
What is on the first line of an HTTP request message?
http method, request target usually a url http version
What is on the first line of an HTTP response message?
protocol version, status code, status text
What are HTTP headers?
An HTTP header is a field of an HTTP request or response that passes additional context and metadata about the request or response. key value pairs
Is a body required for a valid HTTP message?
No
difference between the internet and the web
internet is the net work of connected computers, the web is the links between html documents or urls.