Connection Header Explained
What the HTTP Connection header does and when it's used.
Published October 17, 2026
The Connection header controls whether the network connection stays open after the current request/response.
Key points
- "Connection: keep-alive" reuses the same TCP connection for multiple requests, avoiding repeated connection setup overhead