Index of /wget-xattr

Icon  Name                       Last modified      Size  
[DIR] Parent Directory - [   ] wget-1.13-xattr.diff 04-Sep-2011 21:27 9.7K [   ] wget-1.12-xattr.diff 08-Oct-2009 20:54 9.2K [   ] wget-1.11.1-xattr.diff 14-Apr-2008 15:13 8.6K [TXT] dumpxattrs.c 07-Apr-2008 21:14 1.2K [TXT] setxattr.c 07-Apr-2008 21:14 781 [   ] http.response 07-Apr-2008 21:14 368 [   ] wget-1.13-xattr.diff.asc 04-Sep-2011 21:28 230 [   ] wget-1.12-xattr.diff.asc 08-Oct-2009 20:54 190 [   ] wget-1.11.1-xattr.diff.asc 14-Apr-2008 15:13 189
This patch presents effort for more semantic world.

It allows wget to store some file meta-data retrieved from HTTP into POSIX
extended attributes. Current implementation does following mapping:

Content-Type → user.mime_type
Content-Type with charset parameter → user.charset 
Encoding → user.mime_encoding

This functionality is compile-time configurable using --{enable|disable}-xattr
switch.

Due to non-standardized xattr interface, only following platforms are supported
now: IRIX, Linux, and Mac OS X.

More information about extended attributes can be found on
[http://freedesktop.org/wiki/CommonExtendedAttributes] and on
[http://en.wikipedia.org/wiki/Extended_file_attributes].

Similar patch saving URL of the file into user.Content-Location has been
provided and discussed on
[http://ml.osdir.com/web.wget.patches/2005-08/msg00012.html]. Unfortunatelly,
maintainer didn't like it.

Also this patch has not been accepted
[http://thread.gmane.org/gmane.comp.web.wget.general/7894].