cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] Addition of trailer headers in HTTP requests generated by libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 19 Jan 2013 23:17:42 +0100 (CET)

On Sat, 19 Jan 2013, Tim Bannister wrote:

> I welcome this improvement but I agree with Dan Fandrich that it would be
> more useful if implemented as a callback. My use cases for request trailers
> involve signing operations on the message body where it's expensive to
> buffer the whole request before starting to send the body… especially as
> parsing the trailer would be optional.

I too agree with the idea of having this as a callback instead to allow
applications to provide the data during or even post transfer. Seems to match
the protocol idea better!

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-19