homepage

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.

Author martin.panter
Recipients caligatio, christian.heimes, martin.panter, orsenthil, pitrou, r.david.murray
Date 2017年01月27日.00:14:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485476071.33.0.275105718222.issue15769@psf.upfronthosting.co.za>
In-reply-to
Content
Nothing has been fixed; I don’t see any evidence that this is "out of date". Here is a more complete test:
import urllib.request
opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor())
urllib.request.install_opener(opener)
request = 'https://httpbin.org/cookies/set?name=value'
# Download certifiate chain for https://httpbin.org/ into cacert.pem (I used Firefox)
sock = urllib.request.urlopen(request, cafile = 'cacert.pem')
sock.read() # b'{\n "cookies": {}\n}\n' (No cookies!)
sock.close()
sock = urllib.request.urlopen(request) # Default SSL settings
sock.read() # b'{\n "cookies": {\n "name": "value"\n }\n}\n'
I’m not comfortable with applying a patch that "doesn’t mangle [the global state] too much". Anyway, this is the same as Issue 18543, which has slightly more recent discussion.
History
Date User Action Args
2017年01月27日 00:14:31martin.pantersetrecipients: + martin.panter, orsenthil, pitrou, christian.heimes, r.david.murray, caligatio
2017年01月27日 00:14:31martin.pantersetmessageid: <1485476071.33.0.275105718222.issue15769@psf.upfronthosting.co.za>
2017年01月27日 00:14:31martin.panterlinkissue15769 messages
2017年01月27日 00:14:30martin.pantercreate

AltStyle によって変換されたページ (->オリジナル) /