Chunked transfer encoding browser experience
问题 Why the output of this simple Perl script >> print "Content-type: text/plain\n"; print "Transfer-Encoding: chunked\n\n"; print "11\n\n"; print "0123456789ABCDEF\n"; print "11\n\n"; print "0123456789ABCDEF\n"; print "0\n\n"; ...works for Chrome browser and does not for IE10..? 回答1: You’ve implemented the chunked transfer coding wrong: Each chunk consists of the chunk size in bytes in hexadecimal notation, followed by a CRLF sequence, followed by the chunk data: chunk = chunk-size [ chunk