cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [PATCH] curl tool: add filename_effective token for --write-out

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 5 Mar 2012 20:00:37 +0100 (CET)

On Mon, 5 Mar 2012, Dave Reisner wrote:

> By modifying the parameter list for ourWriteOut() and passing the
> OutStruct that collects data in tool_operate, we get access to the
> remote name that we're writing to. Shell scripters should find this
> useful when used in conjuntion with the --remote-header-name option.

Thanks!

(As this patch is only for the command line tool, perhaps posting it to
curl-users would be better - I'm directing my response over there too anywhere
for information if nothing else.)

I'm queueing this good-looking patch for merging after the pending release as
we're in feature freeze right now.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-05