This document provides an overview of the Hypertext Transfer Protocol (HTTP) including:
- HTTP is a simple request-response protocol layered on TCP/IP that is used to fetch web pages from servers and transmit data.
- Common HTTP requests include GET, HEAD, PUT, POST, and DELETE. GET and POST are most commonly used.
- HTTP responses include status codes like 200 (OK), 404 (Not Found), and 500 (Internal Server Error).
- Browser caching is controlled using headers like Cache-Control to specify how long responses can be reused.