- From: Jeffrey Mogul <mogul@pa.dec.com>
- Date: Thu, 29 Jan 98 14:12:15 PST
- To: http-wg@cuckoo.hpl.hp.com
John Franks writes: Chunking has very low overhead. From the point of view of efficiency there would be no problem for clients or servers if ALL transactions were required to be chunked. There is not much performance difference between Content-length: 123456 <123456 bytes of data> and Content-encoding: chunked 123456 <123456 bytes of data> 0 Unfortunately, there is a slight correctness difference here! >From 3.6.1, "The chunk-size field is a string of hex digits" so the correct form is Content-encoding: chunked 1E240 <123456 bytes of data> 0 Otherwise, I agree entirely with John. (And note that parsing hex numbers is usually less expensive than parsing decimals, by a few instruction cycles.) -Jeff
Received on Thursday, 29 January 1998 14:13:35 UTC