On 5 Dec 2006, at 14:27, Oliver Jeeves wrote: > Alvar Freude wrote: >> >> -- Kristian Nilssen <[EMAIL PROTECTED]> wrote: >> >>> Basically I have some html which draws an image, then I call the >>> perl >>> block below... >> >> you can't send HTTP headers after sending some (HTML) body. >> >> You must send the HTTP headers before any content. >> >> >> Ciao >> Alvar > > Forgive me if I'm wrong, but doesn't mod_perl buffer output, and > therefore allows you to mix-and-match when you output content and > headers?
Have you tried _something_ like (mod_perl2 BTW): $r->headers_out->add('Status' => "200 ok"); ? Thanks Robin... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users