I noticed that chunked encoding is ideal for transfers of web page content where size is unknown. If I'm compelled to use HTTP for file uploads and downloads, is it valid to use the chunked encoding feature of HTTP/1.1 for performance benefit? Or should I implement chunking at the application layer?
EDIT: By performance benefit I imply the performance of the data transfer over the wire. Can chunking improve the upload and download times? Or am I going against its intent?