HyperText Transfer Protocol
The HyperText Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, where hypertext documents include hyperlinks to other resources that the user can easily access, for example by a mouse click or by tapping the screen in a web browser. [1]
Documentation
Request for Comments (RFC)
- 1945 - Hypertext Transfer Protocol - HTTP/1.0 [EN]
- 6585 - Additional HTTP Status Codes [EN]
- 7230 - Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing [EN]
- 7231 - Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content [EN]
- 7232 - Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests [EN]
- 7233 - Hypertext Transfer Protocol (HTTP/1.1): Range Requests [EN]
- 7234 - Hypertext Transfer Protocol (HTTP/1.1): Caching [EN]
- 7235 - Hypertext Transfer Protocol (HTTP/1.1): Authentication [EN]
- 7540 - Hypertext Transfer Protocol Version 2 (HTTP/2) [EN]
- 7541 - HPACK: Header Compression for HTTP/2 [EN]
- 9114 - HTTP/3 [EN]
Implementations
Server
3 pages found:
Client
4 pages found:
Tools
3 pages found:
Hints
- Provide a lightweight HTTP server
python -m 'http.server' 8000 --bind '127.0.0.1' --directory "${HOME}/web"
NOTE:
By default, server binds itself to all interfaces. The option -b / --bind specifies a specific address to which it should bind.
[2]
NOTE:
By default, server uses the current directory. The option -d / --directory specifies a directory to which it should serve the files.
[2]
References
- ↑ Wikipedia contributors. "HTTP." Wikipedia. https://en.wikipedia.org/wiki/HTTP (accessed 24.05.2023)
- ↑ 2.0 2.1 Python contributors. "http.server." Python Software Foundation. https://docs.python.org/3/library/http.server.html (accessed 05.05.2023)