Servers Flashcards

1
Q

What is a client?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a server?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which HTTP method does a browser issue to a web server when you visit a URL?

A

GET

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is on the first line of an HTTP request message?

A

http method, request target usually a url http version

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is on the first line of an HTTP response message?

A

protocol version, status code, status text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are HTTP headers?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Is a body required for a valid HTTP message?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

difference between the internet and the web

A

internet is the net work of connected computers, the web is the links between html documents or urls.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly