The attached patch augments the hardcoded extension-to-mime-type
table with information parsed from /etc/mime.types (if that exists).

So if you find that you must specify image/x-djvu manually for your
*.djvu files, simply add the following line to that file:

image/x-djvu                                    djvu djv

Honing of the parsing code will be appreciated. One more question to
the Freenet experts: this thing is being called both from fproxy (where
logging is good) and from fclient (where logging seems to go nowhere).
How should I report problems?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 2450 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20020907/33df4efb/attachment.bin>
-------------- next part --------------

-- 
Robbe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.ng
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20020907/33df4efb/attachment.pgp>

Reply via email to