Hi, It's probably CGI.pm problem, but since it's used by CGI::Application, I thought I will address this issue.
So, in my applicaton, which uses CGI::App, I don't use any CGI.pm functions for output. I just assign HMTL output to $output and then return it from the run-mode. By default, CGI.pm appends 'Content-Type: text/html\n\n' to the output before sending it to the browser, which is fine. That was for version 2.56 of CGI.pm. Higher versions seem to produce 'Content-Type: text/html; charset=\n\n' header instead. Which would probably be fine for the usual webserver. Our apache, however is extended to add custom headers and footers to each page or script, and this header breaks it - no custom headers and footers are added. Question: how can I turn this 'Content-Type: text/html; charset=\n\n' thing off and use good old 'Content-Type: text/html\n\n' instead? As I understand, even though it is a CGI.pm thing, I should be able to turn it off somewhere in my script that actually uses CGI::Application. Thanks -- ------------------------------------------------- Evaldas Imbrasas Web Application Developer Wolfram Research, Inc. (http://www.wolfram.com) Email: [EMAIL PROTECTED] WWW: http://www.tdd.lt/~ear/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
