1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/mime
Jonas Fonseca a236608554 Do not set the content type for FSP files
Simplify commit 8d4f44f2f1, in particular
detecting MIME types for files. It is more consistent to do it the way
it was already done by the session/download code.

Instead, write a NUL byte to stderr when getting FSP files and only set
cache->content_type when the header string is non-empty.

Additionally it also moves close(stderr) after the fsp_error() in the
file handling part of do_fsp() so the error message is shown with the
correct type.
2006-01-29 14:27:14 +01:00
..
backend Fix the mailcap test program's dependency on gettext 2006-01-21 08:32:17 +01:00
dialogs.c Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
dialogs.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
mime.c Do not set the content type for FSP files 2006-01-29 14:27:14 +01:00
mime.h Do not set the content type for FSP files 2006-01-29 14:27:14 +01:00