check_chunked revision 09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1
394N/A# This is meant to be used on the raw output of an HTTP/1.1 connection 394N/A# to check that the chunks are all correctly laid out. It's easiest 394N/A# to use a tool like netcat to generate the output. This script 394N/A# *insists* that \r exist in the output. 394N/A $_ = <> || die "unexpected end of file!\n"; 394N/A m#^([0-9a-f]+) *\r$#i || die "bogus chunklen: $_"; 3778N/A $_ = <> || die "unexpected end of file!\n";