2 Answers
- Newest
- Most votes
- Most comments
0
No, WebSocket API doesn't allow to set other header. Most headers other than Upgrade, Connection, Sec-WebSocket-* are not meaningful for the handshake, but I do agree that Set-Cookie would be a valid use case, as mentioned in the specification.
_The server can also set cookie-related option fields to set_cookies, as described in [RFC6265].
answered 4 years ago
0
Thanks for the reply, jwaataws. Would love to see Set-Cookie allowlisted soon for Websocket APIs.
answered 4 years ago
Relevant content
- asked a year ago
- asked 4 years ago
- asked 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 years ago