Content-type: text/html

EXCEPTION OCCURRED.
Traceback (most recent call last):
  File "viewpageln.py", line 231, in 
    print head,body,debug_info,
NameError: name 'head' is not defined