[Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.48, 1.49

Update of /cvsroot/python/python/dist/src/Doc/whatsnew In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27715/Doc/whatsnew Modified Files: whatsnew24.tex Log Message: Patch #963318: Add support for client-side cookie management. Index: whatsnew24.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** whatsnew24.tex 31 May 2004 03:15:02 -0000 1.48 --- whatsnew24.tex 31 May 2004 18:22:40 -0000 1.49 *************** *** 570,573 **** --- 570,592 ---- % whole new modules get described in \subsections here + \subsection{cookielib} + + The \module{cookielib} library supports client-side handling for HTTP + cookies, just as the \module{Cookie} provides server-side cookie + support in CGI scripts. This library manages cookies in a way similar + to web browsers. Cookies are stored in cookie jars; the library + transparently stores cookies offered by the web server in the cookie + jar, and fetches the cookie from the jar when connecting to the + server. Similar to web browsers, policy objects control whether + cookies are accepted or not. + + In order to store cookies across sessions, two implementations of + cookie jars are provided: one that stores cookies in the Netscape + format, so applications can use the Mozilla or Lynx cookie jars, and + one that stores cookies in the same format as the Perl libwww libary. + + \module{urllib2} has been changed to interact with \module{cookielib}: + \class{HTTPCookieProcessor} manages a cookie jar that is used when + accessing URLs. % ======================================================================
participants (1)
-
loewis@users.sourceforge.net