Building an HTTP Server
What is HTTP?
Hyper
Text
Transfer
Protocol
Clarification
- HTTP/0.9
- HTTP/1.0
- HTTP/1.1
- HTTP/2.0
- HTTP/3.0
What does HTTP look like?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Download the template
- Echo server
- Handle control data
- Handle headers
- Handle body
- Send a static response
- Generate a response dynamically
- Return error responses
- Handle requests to different URLs