mirror of
https://github.com/xcat2/confluent.git
synced 2025-04-09 01:16:17 +00:00
If a web application in a wider domain sets a cookie that python doesn't like, a CookieError would be raised to ruin the whole request. Address by subclassing SimpleCookie to catch the cookie error and set an empty Morsel rather than fail out. This allows the errant cookie to be ignored while still being able to check for the cookie that we actually care about.
Description
Languages
Python
79.8%
Shell
15.8%
C
3.5%
Go
0.4%
Perl
0.3%