How do I send the "Set-Cookie" header when working with a BaseHTTPServerRequestHandler
, and Cookie
? BaseCookie
and children don't provide a method to output the value to be passed into send_header()
, and *Cookie.output()
does not provide a HTTP line delimiter.
Which Cookie
class should I be using? Two have survived into Python3, what are the differences?