Class CookieCollection
In: lib/cookie_collection.rb
Parent: Object

Synopsis

CookieCollection should be utilized by clients that need HTTP cookie management. This class assists in storing and parsing raw cookies and returning non-expired cookies for the cookie‘s originating server.

NOTE This class is largely unimplemented and only stores and returns a single raw cookie header without any processing or domain discretion.

Implementation Notes

  • RFC 2109, version 1 cookies (tools.ietf.org/html/rfc2109)
  • Uses Netscapes’ "Expires" instead of RFC‘s "Max-Age" attribute. Expires is an RFC 2822 date.

Methods

Public Class methods

Public Instance methods

[Validate]