On Sat, Jul 12, 2008 at 12:10:52AM +0900, Raymond Wan wrote:
> 
> Hi John,
> 
> I see...I didn't know it was possible to print anything before 
> headers...  I am not printing that statement, as far as I know, but 
> maybe a library I am using is.  I will look into it...
> 
> So, the part after "HTTP/1.1 ...", why is that shown?  Is that a web 
> server setting?  What is odd is that it doesn't print at every page.  
> Just one page...and that one page doesn't always show it...only 
> sometimes.  This is why it is strange to me...but I'll keep looking, 
> then.  So, this is unrelated to modperl...other than debugging code 
> somewhere?

Those are the HTTP response headers.  They are showing in the browser
because your script is returning a malformed response, i.e. printing "null
device 1" before the headers.  The browser is unable to parse the headers
and treats them as part of the body.

Ronald

Reply via email to