curl-users
Re: curl chunk option?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 4 Sep 2009 13:44:19 +0200 (CEST)
Date: Fri, 4 Sep 2009 13:44:19 +0200 (CEST)
On Thu, 3 Sep 2009, Chris Cross wrote:
> I tried this:
>
> curl -H "Transfer-Encoding: chunked" -T file5M
> http://localhost/cgi-bin/chunked-upload
>
> and saw in the packet capture that the the header for the POST was indeed
> changed, using "Transfer-Encoding: chunked" instead of Content-length.
> However, subsequent packets are continuation with data only and not the
> chunked headers one would expect. Am I still missing something?
What headers would you expect that aren't there? I just tried this myself to
verify and I get a fine chunked-encoded PUT that way.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-09-04