The goal of ocookie is to provide a comprehensive API for working with cookies.
cookielib provides cookie management functionality, but the client and server parts are separate and not easily convertible from one to the other. Using cookielib is complicated because it expects httplib request and response objects in order to parse cookies. Lastly, cookielib’s API itself can be improved.
ocookie should satisfy the needs of any application dealing with cookies. Specifically it aims to address the following use cases:
At the same time ocookie is intended to be easy to use:
ocookie is not intended to provide a full cookie parser, as this turns out to be a rather complex undertaking. ocookie has a minimal parser that will work for most web sites and applications, and for the remaining cases ocookie will fall back on cookielib for cookie parsing.
Note: API is not yet stable.
Execute the test suite by running nosetests.
The test suite uses some nose features and will not work with unittest alone.
Released under the 2 clause BSD license.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.