2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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].
답변함 4년 전
0
Thanks for the reply, jwaataws. Would love to see Set-Cookie allowlisted soon for Websocket APIs.
답변함 4년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전