Connection

Options for the current connection only.

Request and response header connection

How it works

keep-alive or close in HTTP/1.1. Forbidden in HTTP/2 and HTTP/3.

Example

Connection: keep-alive

See it live: send any request in Endpoint Client and open the Headers tab, where every response header is explained. Specification: RFC 9110.

Related headers