HTTP (Hypertext Transfer Protocol)
The foundational application-layer protocol for data communication on the World Wide Web.
HTTP serves as the primary language of the internet. It governs how resources (like images, text, and videos) are requested and delivered. Every time you browse a website, your device is performing dozens of HTTP transactions. Understanding status codes (e.g., 200 OK, 404 Not Found, 500 Internal Server Error) is fundamental for web debugging and architecture.
graph LR
Center["HTTP (Hypertext Transfer Protocol)"]:::main
Rel_decentralized_autonomous_organization_dao["decentralized-autonomous-organization-dao"]:::related -.-> Center
click Rel_decentralized_autonomous_organization_dao "/terms/decentralized-autonomous-organization-dao"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Knowledge Check
🧒 Explain Like I'm 5
[HTTP](/en/terms/http) is like a restaurant menu. You (the client) ask for a 'Cheeseburger' (the request), and the waiter (the protocol) tells the kitchen (the server). The kitchen prepares the burger and the waiter brings it back to you (the response).
🤓 Expert Deep Dive
HTTP defines the semantics of the web. It operates as a stateless request-response protocol. Version evolution is key: HTTP/1.1 (1997) added persistence and Host headers. HTTP/2 (2015) introduced binary framing and multiplexing to solve the 'one-request-at-a-time' limitation of TCP. HTTP/3 (2022) utilizes QUIC (UDP-based) to handle network packet loss more efficiently and reduce handshake latency. Semantic methods (GET, POST, PUT, DELETE, PATCH, OPTIONS) define standardized actions on resources, while headers (Content-Type, Cache-Control, ETag) manage metadata and performance. Security is implemented via TLS (HTTPS), which encrypts the entire HTTP payload, protecting against man-in-the-middle attacks.
❓ Frequently Asked Questions
What is the difference between HTTP and HTTPS?
HTTPS is HTTP with encryption (SSL/TLS), making it secure for sensitive data like passwords.
What does a 404 error mean?
It means the server couldn't find the specific resource you requested.