ANN: ClientCookie 0.4.18 and 0.9.3a released (and mechanize 0.0.5a) (original) (raw)

John J. Lee jjl@pobox.com
05 Jan 2004 18:48:16 +0000


http://wwwsearch.sourceforge.net/ClientCookie/

(I've uploaded a new version of mechanize too -- a lot of minor bugfixes; note that ClientCookie 0.4.17 or newer is now required by mechanize)

0.4.18 is a stable bugfix release.

0.9.3a is an alpha release of a final version, parts of which I hope to get into Python 2.4.

Changes from 0.4.14 to 0.4.18:

Changes from 0.9.0a to 0.9.3a (development version):

Requires Python >= 1.5.2.

ClientCookie is a Python module for handling HTTP cookies on the client side, useful for accessing web sites that require cookies to be set and then returned later. It also provides some other (optional) useful stuff: HTTP-EQUIV and Refresh handling, automatic adding of the Referer [sic] header and lazily-seek()able responses. These extras are implemented using an extension that makes it easier to add new functionality to urllib2. It has developed from a port of Gisle Aas' Perl module HTTP::Cookies, from the libwww-perl library.

Simple usage:

import ClientCookie response = ClientCookie.urlopen("http://www.example.com/")

This function behaves identically to urllib2.urlopen, except that it deals with cookies automatically. That's probably all you need to know.

John