How can I continuously inform the user of progress from a Perl CGI script?

前端 未结 6 705
一整个雨季
一整个雨季 2021-01-13 12:04

I have this Perl script sitting in the cgi-bin folder of my Apache server:

#!/usr/bin/perl 
use strict;
use warnings;

$| = 1;

print \"Content-type: text/ht         


        
6条回答
  •  南方客
    南方客 (楼主)
    2021-01-13 12:33

    Does it do what you expect when you set the content-type to text/plain? Perhaps the HTML parsing in your browser is causing the delay in the output, since you're not actually outputting valid HTML? (no or tags)

提交回复
热议问题