1N/A# test the simple_counter() method 1N/A# test do_sleep, except we don't want to bog down the tests 1N/A# there's also a potential timing-related failure lurking here 1N/A# change this variable at your own risk 1N/A# next_page() to be called twice, last_page() once, no delay 1N/A# this seems to appear on every page 1N/Alike( $$out, '/WARNING: YOUR BROWSER/', 'unsupported browser warning' ); 1N/A# these should appear correctly 1N/A# send a fake content type (header capitalization varies in CGI, CGI::Push) 1N/Alike( $$out, '/Content-[Tt]ype: fake/', 'set custom Content-type' ); 1N/A# use our own counter, as $COUNTER in CGI::Push is now off 1N/A# no delay, custom headers from callback, only call callback once 1N/A# header capitalization again, our word should appear only once 1N/Alike( $$out, '/ype: text\/plain/', 'set custom Content-type in next_page()' );