cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Storing the URL in extended attributes of the downloaded file

From: Petr Pisar <petr.pisar_at_atlas.cz>
Date: Mon, 18 Oct 2010 10:30:56 +0200

On Mon, Oct 18, 2010 at 10:15:53AM +0200, Daniel Stenberg wrote:
> On Mon, 18 Oct 2010, Daniel Stenberg wrote:
>
> >o I never use extended attributes myself. Is 'user.curl.origin' something
> > everyone is likely to be happy with or should we allow it to be changable?
>
> BTW, I thought of two other things:
>
> 1 - I noticed your patch sent to the wget team for this same
> feature. Wouldn't it make sense to use the same name for the URL no
> matter which tool that downloaded it? It would make it easier for
> scripts/tools to extract the info.
>
There is a Free Desktop specification
<http://freedesktop.org/wiki/CommonExtendedAttributes>. Some atributes are
in use (user.mime_type, user.encoding), some are just a propose. Please use
that identifiers instead of some curl-specific.

-- Petr

-------------------------------------------------------------------
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

  • application/pgp-signature attachment: stored
Received on 2010-10-18