Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANN: ClientCookie 0.4.10 released

0 views
Skip to first unread message

John J. Lee

unread,
Dec 6, 2003, 7:09:29 PM12/6/03
to
http://wwwsearch.sourceforge.net/ClientCookie/

Stable bugfix release.

Changes since 0.4.9:

(The first two are strictly interface changes, but they're tiny, honest.)

* Various changes to debugging facilities. See the docs at the web
page for details of how this works now.
* Removed HTTPStandardHeadersProcessor: it's now part of
AbstractHTTPHandler.
* Fixed a bug that caused urlopening some unicode URLs to unnecessarily
raise UnicodeDecodeError.
* HTTPEquivProcessor's max_time constructor arg can now be None,
meaning no limit, and it should now work with XHTML for Pythons >=
2.2.
* More documentation updates and fixes.
* Assorted minor bugfixes.
* More unit tests for urllib2 stuff, and added a functional test to
distribution.


Requires Python >= 1.5.2.

ClientCookie is a Python module for handling HTTP cookies on the client
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

0 new messages