Miscellaneous · Request & Response
Upgrade
Requests a protocol upgrade (e.g. HTTP → WebSocket).
What is Upgrade?
The classic mechanism for switching protocols on an existing connection — most importantly HTTP/1.1 to WebSocket via `Upgrade: websocket`. Server responds with 101 Switching Protocols.
Typical usage
Set on WebSocket handshake requests.
Examples
Upgrade: websocketSpecification
RFC 9110 §7.8