HTTP Protocol and Web Architecture Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/37

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core concepts of HTTP protocols, client-server dynamics, request/response structures, methods, status codes, cookies, web caching, and version evolutions.

Last updated 1:39 PM on 8/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

38 Terms

1
New cards

HTTP

Hypertext Transfer Protocol; the Web's application layer protocol operating on a client-server model.

2
New cards

Statelessness

A core HTTP property where the server maintains no memory of past interactions, treating every request as a brand-new, unrelated event.

3
New cards

Client

An entity (such as a browser or mobile app) that initiates communication by sending an HTTP request containing all needed information.

4
New cards

Server

An entity hosting websites, APIs, or content that waits for incoming HTTP requests, processes them, and returns responses.

5
New cards

Non-persistent HTTP

An HTTP connection mode where a TCP connection is opened, at most one object is sent over the connection, and the TCP connection is then closed.

6
New cards

Persistent HTTP

An HTTP connection mode where a TCP connection remains open after a response, allowing multiple objects to be sent over a single connection.

7
New cards

RTT (Round Trip Time)

The time required for a small packet to travel from a client to a server and back.

8
New cards

Non-persistent HTTP Response Time

Calculated as 2 RTT+file transmission time2\text{ RTT} + \text{file transmission time} per object.

9
New cards

Request Line

The first line of an HTTP request message composed of an HTTP method, URL, and protocol version.

10
New cards

Status Line

The first line of an HTTP response message containing the protocol version, status code, and status phrase.

11
New cards

Request Headers

HTTP headers providing metadata about the request and client, such as User-Agent, Authorization, and Accept.

12
New cards

General Headers

HTTP headers that apply to both request and response messages, such as Date, Cache-Control, and Connection.

13
New cards

Representation Headers

HTTP headers describing the message body, such as Content-Type, Content-Length, and Content-Encoding.

14
New cards

Security Headers

HTTP headers that instruct browser security behaviors, such as Strict-Transport-Security and Content-Security-Policy.

15
New cards

GET

An idempotent HTTP method used strictly to retrieve data without modifying anything on the server.

16
New cards

POST

A non-idempotent HTTP method used to create a new resource on the server.

17
New cards

PUT

An idempotent HTTP method used to replace an existing resource entirely.

18
New cards

PATCH

An HTTP method preferred over PUT for making partial updates to an existing resource.

19
New cards

DELETE

An idempotent HTTP method used to remove a specified resource.

20
New cards

Idempotency

A property of an HTTP method where calling it multiple times produces the exact same result on the server as calling it once.

21
New cards

Same-Origin Policy

A browser security rule restricting pages from requesting resources from a domain different from the one that served the page.

22
New cards

CORS (Cross-Origin Resource Sharing)

A mechanism that allows servers to safely relax the Same-Origin Policy for cross-domain requests.

23
New cards

Preflight Request

An OPTIONS request sent by the browser before complex cross-origin requests to check allowed origins, methods, and headers.

24
New cards

200 OK

A 2xx status code indicating a standard successful HTTP request.

25
New cards

201 Created

A 2xx status code indicating that a request succeeded and a new resource was created.

26
New cards

204 No Content

A 2xx status code indicating a successful request with no response body returned.

27
New cards

301 Moved Permanently

A 3xx redirection status code indicating that the requested resource has been assigned a new permanent URL.

28
New cards

304 Not Modified

A 3xx redirection status code indicating that a cached copy of the resource is still valid.

29
New cards

400 Bad Request

A 4xx client error status code indicating a malformed or invalid request.

30
New cards

401 Unauthorized

A 4xx client error status code indicating missing or invalid authentication credentials.

31
New cards

403 Forbidden

A 4xx client error status code indicating the server refuses to authorize the request.

32
New cards

404 Not Found

A 4xx client error status code indicating the server cannot locate the requested resource.

33
New cards

Cookie

A state management tool using HTTP headers, backend databases, and local files to identify users and retain state across transactions.

34
New cards

Web Cache (Proxy Server)

An intermediary entity that satisfies client HTTP requests using cached copies of objects without involving the origin server.

35
New cards

Conditional GET

An HTTP GET request including an If-modified-since header so the origin server only sends the object if it was modified after the specified date.

36
New cards

Head-of-line (HOL) Blocking

A bottleneck in HTTP/1.1 where small requested objects are delayed waiting behind large objects delivering in FCFS order.

37
New cards

HTTP/2

An HTTP version that divides objects into frames and interleaves them based on client priorities to reduce head-of-line blocking.

38
New cards

HTTP/3

An HTTP version built on QUIC over UDP that provides built-in security and per-object error and congestion control.