This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Allow Cookies for Secure WebSockets
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, pizzapanther
Priority: normal Keywords: patch

Created on 2018-10-05 23:38 by pizzapanther, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 9734 merged python-dev, 2018-10-05 23:44
Messages (2)
msg327199 - (view) Author: Paul Bailey (pizzapanther) * Date: 2018-10-05 23:38
http.cookiejar.DefaultCookiePolicy should support the secure websocket protocol wss. WebSockets start off as HTTP requests and then get upgraded but have a different protocol of `wss` instead of `https`. This means secure cookies are not passed through by default.
msg327367 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2018-10-08 18:49
New changeset 4c339970570d07916bee6ade51f4e9781d51627a by Andrew Svetlov (Paul Bailey) in branch 'master':
bpo-34911: Added support for secure websocket cookies (GH-9734)
https://github.com/python/cpython/commit/4c339970570d07916bee6ade51f4e9781d51627a
History
Date User Action Args
2022-04-11 14:59:06adminsetgithub: 79092
2018-10-08 18:50:04asvetlovsetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.8
2018-10-08 18:49:37asvetlovsetnosy: + asvetlov
messages: + msg327367
2018-10-05 23:44:11python-devsetkeywords: + patch
stage: patch review
pull_requests: + pull_request9120
2018-10-05 23:38:48pizzapanthercreate