HTTP, or Hypertext Transfer Protocol, is an application-layer protocol used for distributed information systems. It is the foundation of data communication for the World Wide Web. Hypertext documents, such as HTML pages, can contain hyperlinks that let people access other resources by clicking or tapping.
A web resource may be a file, a document, or information generated dynamically by a server. A resource is identified using a Uniform Resource Identifier (URI). A Uniform Resource Locator (URL) is a familiar type of URI that locates a resource using schemes such as http or https. In HTML, URIs are commonly embedded in hyperlinks, forming connected hypertext documents.
All flashcards
What is HTTP?
HTTP (Hypertext Transfer Protocol) is an application-layer protocol that provides the basic request–response communication used by the World Wide Web.
What is the HTTP request–response model?
A client sends a request for an operation or resource; the server processes it and returns a response describing the result and possibly carrying the requested content.
What is a user agent?
A user agent is software that accesses, consumes, or displays web content. Browsers, web crawlers, voice browsers, and mobile apps are examples.
How can a cache help HTTP communication?
A cache stores previously accessed content and can reuse it when appropriate, reducing network traffic and often improving response time.
What is the difference between hop-by-hop and end-to-end headers?
Hop-by-hop headers apply between adjacent HTTP nodes. End-to-end headers are managed between the originating client and target server.
Quiz questions
Which transport does HTTP/3 use?Answer: QUIC over UDP
What does it mean for an HTTP method to be idempotent?Answer: Repeating the same request has the same intended effect as making it once.
What does the 4xx status-code class indicate?Answer: A client error
What does an HTTP HEAD request ask the server to provide?Answer: Response metadata without the representation body
What does it mean that HTTP is stateless?Answer: HTTP does not require a server to remember user information across requests.
Based on the Wikipedia article HTTP, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.