Expand description
HTTP download state machine.
Non-blocking HTTP GET with streaming support for ISO downloads.
§States
Init → Resolving → Connecting → SendingRequest → ReceivingHeaders → ReceivingBody → Done
↓ ↓ ↓ ↓ ↓ ↓
Failed Failed Failed Failed Failed Failed§Architecture
This state machine composes DNS and TCP state machines:
DnsResolveStatefor hostname resolutionTcpConnStatefor connection establishment
The HTTP layer handles request/response framing on top of TCP.
§Streaming Mode
For large downloads (ISOs), data is passed to a callback function as it arrives, rather than buffering the entire response.
§Reference
NETWORK_IMPL_GUIDE.md §5.5
Structs§
- Internal state for accumulating headers.
- Download progress information.
- Information extracted from HTTP response headers.
Enums§
- HTTP download state machine.
- HTTP-specific errors.