2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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].
répondu il y a 4 ans
0
Thanks for the reply, jwaataws. Would love to see Set-Cookie allowlisted soon for Websocket APIs.
répondu il y a 4 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans