tdf#109202 Add mimetype to image element

Thorsten Behrens thb at libreoffice.org
Mon Dec 18 22:38:45 UTC 2017


Michael Stahl wrote:
> i don't see this as a disadvantage: the content of an ODF package
> cannot make assumptions about what some URL that points outside the
> ODF package refers to; dereferencing the URL might result in a
> different file than when the ODF package was created, or it might be
> a 404 because the file has been removed.
> 
Yep, agreeing with Michael - there's an established way to transfer
the mime type of linked content, and that's the responsibility of the
server. Best is to leave that to the remote side, content could be
generated on the fly, depend on the user agent, preferred language etc
etc.

All the best,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20171218/3b760453/attachment.sig>


More information about the LibreOffice mailing list