| OLD | NEW |
| 1 #!/usr/bin/perl -w | 1 #!/usr/bin/perl -wT |
| 2 | 2 |
| 3 # Flush STDOUT after each print. | 3 # Flush STDOUT after each print. |
| 4 select (STDOUT); | 4 select (STDOUT); |
| 5 $| = 1; | 5 $| = 1; |
| 6 | 6 |
| 7 print "Content-Type: text/css; charset=utf-8\n"; | 7 print "Content-Type: text/css; charset=utf-8\n"; |
| 8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n"; | 8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n"; |
| 9 print "Cache-Control: no-store, no-cache, must-revalidate\n"; | 9 print "Cache-Control: no-store, no-cache, must-revalidate\n"; |
| 10 print "Pragma: no-cache\n"; | 10 print "Pragma: no-cache\n"; |
| 11 print "\n"; | 11 print "\n"; |
| 12 | 12 |
| 13 print "\xef\xbb\xbf#result {color:green;}\n"; | 13 print "\xef\xbb\xbf#result {color:green;}\n"; |
| 14 # Dump some spaces to bypass CFNetwork buffering. | 14 # Dump some spaces to bypass CFNetwork buffering. |
| 15 for ($count = 1; $count < 4000; $count++) { | 15 for ($count = 1; $count < 4000; $count++) { |
| 16 print " "; | 16 print " "; |
| 17 } | 17 } |
| 18 | 18 |
| 19 # Delay to force the second line of text to be decoded as a separate chunk. | 19 # Delay to force the second line of text to be decoded as a separate chunk. |
| 20 sleep 1; | 20 sleep 1; |
| 21 print "body {}"; | 21 print "body {}"; |
| OLD | NEW |