When generating web content on-the-fly, the standard HTTP header used is "Content-type: text/html". However, this means the user has to actively click "File" and "Save as..." to get a file save dialogue. Furthermore, the default filename is the same as the CGI script filename.