--xattroption tells curl to also store certain file metadata in "extended file attributes". These extended attributes are standardized name/value pairs stored in the file system, assuming one of the supported file systems and operating systems are used.
xdg.origin.urlattribute and, for HTTP, the content type is stored in the
mime_typeattribute. If the file system does not support extended attributes when this option is set, a warning is issued.