327
288
def add_cookie(self, cookie, value=None, **attributes):
328
289
"""Inserts a cookie into this request object's headers."""
332
Cookie.add_cookie(self.apache_req, cookie, value, **attributes)
293
mod_python.Cookie.add_cookie(self.apache_req, cookie, value, **attributes)
335
296
"""Returns a mod_python Session object for this request.
336
297
Note that this is dependent on mod_python and may need to change
338
303
# Cache the session object and set the timeout to 24 hours.
339
304
if not hasattr(self, 'session'):