in reply to Re: Re: CGI Trying to save file to computer rather then display it in browser
in thread CGI Trying to save file to computer rather then display it in browser

The header shortcut by default spits out "Content-type: text/plain"
No, actually "print header" in CGI.pm spits out "Content-type: text/html." You can get CGI to produce text/plain if you want (or any other MIME type for that matter) but text/html is the default.

Gary Blackburn
Trained Killer

  • Comment on Re: Re: Re: CGI Trying to save file to computer rather then display it in browser

Replies are listed 'Best First'.
Re: Re: Re: Re: CGI Trying to save file to computer rather then display it in browser
by virtualsue (Vicar) on Apr 29, 2001 at 22:15 UTC
    Sigh...I hate it when my hands type whatever they want. You are completely correct.