Index of /wget-xattr
Name Last modified Size
Parent Directory -
dumpxattrs.c 2008-04-07 21:14 1.2K
http.response 2008-04-07 21:14 368
setxattr.c 2008-04-07 21:14 781
wget-1.11.1-xattr.diff 2008-04-14 15:13 8.6K
wget-1.11.1-xattr.diff.asc 2008-04-14 15:13 189
wget-1.12-xattr.diff 2009-10-08 20:54 9.2K
wget-1.12-xattr.diff.asc 2009-10-08 20:54 190
wget-1.13-xattr.diff 2011-09-04 21:27 9.7K
wget-1.13-xattr.diff.asc 2011-09-04 21:28 230
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].