[issue35121] Cookie domain check returns incorrect results
西田雄治 added the comment: I think that is desired result. thanks! -- ___ Python tracker <https://bugs.python.org/issue35121> ___ ___ Python-bugs-list mailin
[issue35121] Cookie domain check returns incorrect results
New submission from 西田雄治 : http.cookiejar.DefaultPolicy.domain_return_ok returns incorrect results. So, HTTP clients send cookies which issued from wrong server. policy = http.cookiejar.DefaultCookiePolicy() req = urllib.request.Request('https://xxxfoo.co.jp/') print(policy.domain