cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl chunk option?

From: Chris Cross <xcross_at_us.ibm.com>
Date: Tue, 8 Sep 2009 08:38:20 -0400

daniel_at_cool.haxx.se wrote on 09/04/2009 07:44:19 AM:
>
> > 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.
>

Yes, you are correct. Combination of ignorance of the spec and wireshark on
my end. Sorry for the bother.

Thanks,
Chris

Chris Cross
DataPower Development
xcross_at_us.ibm.com
office 561-793-5110

-------------------------------------------------------------------
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.html
Received on 2009-09-08