Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 2 and Version 3 of ConvertCookies


Ignore:
Timestamp:
07/02/06 21:24:25 (11 years ago)
Author:
anonymous
Comment:

fixed minor typo

Legend:

Unmodified
Added
Removed
Modified
  • ConvertCookies

    v2 v3  
    1 = Converting Beween Cookie Types = 
     1= Converting Between Cookie Types = 
    22 
    33There are two largely incompatible cookie types in the Python standard library.  The Cookie library is used by !CherryPy.  Urllib2 (which is handy for accessing other websites as a client) uses cookielib.  The code below is at least a start at converting between the two.  It has only been lightly tested, but is hopefully better than starting from scratch.  If you find a bug, please fix it. :-)