title: Java's HttpCookie class
body: <p>HttpCookie class documentation:</p>
  <blockquote>
  <p>There are 3 HTTP cookie specifications:</p>
  <p>Netscape draft<br>
  RFC 2109 - <a href="http://www.ietf.org/rfc/rfc2109.txt" rel="nofollow noreferrer">http://www.ietf.org/rfc/rfc2109.txt</a><br>
  RFC 2965 - <a href="http://www.ietf.org/rfc/rfc2965.txt" rel="nofollow noreferrer">http://www.ietf.org/rfc/rfc2965.txt</a><br></p>
  </blockquote>
  <p>What about RFC 6265? Is there a class similar to HttpCookie that supports this newest specification as well?</p>
  <p>Python has a simular <a href="https://docs.python.org/3/library/http.cookies.html#http.cookies.Morsel" rel="nofollow noreferrer">Cookie class</a> which follows RFC 2109 which is even worse. By the way, how can you support 3 cookie specifications if some of them explicitly forbid behavior of a previous one? I am referring to the comma and semi-colon separated lists.</p>