[Zope] invalid header

Morten W. Petersen mpeters@online.no
Fri, 08 Oct 1999 02:01:46 +0200


Mike Mikkelsen wrote:
> 
> Hello all,
> 
> Could someone tell me what this error means:
> 
> Error Type:  ValueError
> Error Value: Invalid Header (0):
> 
> The trace that accompanies the error does not show what command/tag/line
> this is happening on.  So I'm stumped.
> 
> Thanks.
> 
> --
You need to set the content type in the RESPONSE header, eg <!--#call
"RESPONSE.set('content-type','text/html')"-->
if I remember correctly. The error occurs when Zope doesn't know what to return.