Back to index

moin  1.9.0~rc2
Private Member Functions Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Private Member Functions

def _BaseCookie__set

Detailed Description

Form of the base cookie that doesn't raise a `CookieError` for
malformed keys.  This has the advantage that broken cookies submitted
by nonstandard browsers don't cause the cookie to be empty.

Definition at line 272 of file

Member Function Documentation

def (   self,
) [private]

Definition at line 278 of file

00279     def _BaseCookie__set(self, key, real_value, coded_value):
00280         morsel = self.get(key, _ExtendedMorsel())
00281         try:
00282             morsel.set(key, real_value, coded_value)
00283         except CookieError:
00284             pass
00285         dict.__setitem__(self, key, morsel)

Here is the call graph for this function:

The documentation for this class was generated from the following file: