The HTTP Protocol

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/23

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts, definitions, and functionalities related to the HTTP protocol as outlined in the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

24 Terms

1
New cards

What does HTTP stand for?

Hypertext Transfer Protocol.

2
New cards

What type of protocol is HTTP?

An application-level stateless protocol.

3
New cards

What does a client do in the HTTP protocol?

Sends a request message to a server.

4
New cards

What is the purpose of the server in the HTTP protocol?

Sends back a response message, usually including the contents of the requested resource.

5
New cards

Name the most widely used HTTP versions.

HTTP/1.1, HTTP/2, and HTTP/3.

6
New cards

What feature does HTTP/2 improve over HTTP/1.1?

It improves performance through binary encoding of messages and other techniques.

7
New cards

What is the function of a URI?

To identify an HTTP resource.

8
New cards

What does URI stand for?

Uniform Resource Identifier.

9
New cards

What is a URL?

A Uniform Resource Locator that provides information to locate and access a resource.

10
New cards

What are the components of a URI structure?

Scheme, authority, path, query, and fragment identifier.

11
New cards

What do GET requests do?

Get the contents of resources.

12
New cards

What are POST requests used for?

To perform actions on resources, such as authenticating users or submitting forms.

13
New cards

What is URL encoding?

Encoding of characters not allowed in a URI as an octet sequence.

14
New cards

What type of HTTP status code is 200?

Success; the request was successfully processed.

15
New cards

What is the primary use of cookies in HTTP?

To allow the server to maintain state across requests.

16
New cards

What is HTTPS?

HTTP over TLS (Transport Layer Security) for secure communication.

17
New cards

What security properties does HTTPS provide?

Authentication, confidentiality, and integrity.

18
New cards

What major optimization does HTTP/2 introduce?

Multiplexing multiple requests and responses over the same connection.

19
New cards

In what way does HTTP/3 differ from previous versions?

It uses the QUIC transport protocol over UDP instead of TCP.

20
New cards

What is the function of HTTP PUT requests?

To create a new resource or replace a representation of the target resource with the request payload.

21
New cards

What is the function of HTTP DELETE requests?

To delete the specified resource.

22
New cards

What are the common classes of HTTP status codes?

Information (1xx), Success (2xx), Redirection (3xx), Client Error (4xx), and Server Error (5xx).

23
New cards

How does TLS enhance HTTPS communication?

TLS encrypts the communication and verifies the server's identity, ensuring authentication, confidentiality, and integrity.

24
New cards

What is the general purpose of HTTP headers?

To provide additional information about the request or response, such as content type, caching instructions, or authentication credentials.