cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] docs: --xattr

From: Tim Bannister <isoma_at_jellybaby.net>
Date: Sat, 15 Oct 2011 14:22:17 +0100

On 13 Oct 2011, at 09:51, Michal Marek wrote:

> +.IP "--xattr"
> +When saving output to a file, this option tells curl to store certain file
> +metadata in extened file attributes. Currently, the URL is stored in the
> +xdg.origin.url attribute and, for HTTP, the content type is stored in
> +the mime_type attribute. If the file system does not support extended
> +attributes, a warning is issued.

That's a neat feature. I'd like to be able to save the ETag as well (and to be able to load this up for an If-Match: request header).

Just an idea, anyway.

-- 
Tim Bannister  isoma_at_jellybaby.net
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-15