http-messages-recap Flashcards

1
Q

What is a client?

A

HTTP client is a client that is able to send a request to and get a response from the server in HTTP format.

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

What is a server?

A

Provides serves to client

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?GET

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

The start line of an HTTP response, called the status line, contains the following information: The protocol version, usually HTTP/1.1 . A status code, indicating success or failure of the request

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

The status line is the first line in the response message. It consists of three items: The HTTP version number, status code, and the status text

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

What are HTTP headers?

A

let the client and the server pass additional information with an HTTP request or response (Meta information)

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly