AttributeError: 'list' object has no attribute 'sent_headers'
Python 2.3.5

A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:
      __doc__ = 'Attribute not found.'
      __getitem__ = <bound method AttributeError.__getitem__ of <exceptions.AttributeError instance at 0xb7dc21ac>>
      __init__ = <bound method AttributeError.__init__ of <exceptions.AttributeError instance at 0xb7dc21ac>>
      __module__ = 'exceptions'
      __str__ = <bound method AttributeError.__str__ of <exceptions.AttributeError instance at 0xb7dc21ac>>
      args = ("'list' object has no attribute 'sent_headers'",)

/home/telec3/web/PEAK/devGuide/MoinMoin/webapi/cgiMoin.py in http_headers(request=['Content-Type: text/xml', 'Content-Length: 102'], more_headers=[])
   83     from MoinMoin import config
   85     if request.sent_headers:
       request = ['Content-Type: text/xml', 'Content-Length: 102'], global sent_headers = undefined
   86         #print "Headers already sent!!!\n"
   87         return

/home/telec3/web/PEAK/devGuide/MoinMoin/wikiaction.py in do_export(pagename='FrontPage', request=<MoinMoin.request.Request instance>)
  604     if mimetype != 'text/xml':
  605         headers.append("Content-Disposition: attachment; filename=%s" % filename)
  606     webapi.http_headers(headers)
       global webapi = <module 'MoinMoin.webapi' from '/home/telec3/web/PEAK/devGuide/MoinMoin/webapi/__init__.pyc'>, global http_headers = undefined, headers = ['Content-Type: text/xml', 'Content-Length: 102']
  608     # copy the body

/home/telec3/web/PEAK/devGuide/MoinMoin/cgimain.py in run(properties={})
  233         else:
  234             try:
  235                 cgitb.handler()
       cgitb = <module 'MoinMoin.support.cgitb' from '/home/telec3/web/PEAK/devGuide/MoinMoin/support/cgitb.pyc'>, handler = <function do_export>
  236             except:
  237                 apply(cgi.print_exception, saved_exc)