etc.curl: Formal review begin

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Aug 30 16:45:17 PDT 2011


On 8/30/11 6:17 PM, Sean Kelly wrote:
> On Aug 30, 2011, at 4:14 PM, Sean Kelly wrote:
>>
>> HTTP really isn't the ideal protocol for this sort of thing.  By default, the entire file would be in the message body, which isn't really asynchronous.  Chunking is an alternative, but there's no way to do this from the client-side, it's purely a server thing.
>
> I stand corrected--it looks like libcurl lets you enable chunking.  I will say, however, that I've never actually see a chunked upload from a web browser, regardless of size.  It's kind of interesting that libcurl will do this.

Far as I can tell Google Chrome does it. That allows it to report 
percent complete for uploads in the status bar.

Andrei


More information about the Digitalmars-d mailing list