On Apr 9, 2008, at 03:45, Bjørnar Nielsen wrote:
The comment about the registry was there before I made any changes. My
only change was to add 'text/xml' as content-type for extension 'xml'.
For now my only need is this extra content-type, not another way of
managing the list of
Hello,
The comment about the registry was there before I made any changes. My only
change was to add 'text/xml' as content-type for extension 'xml'. For now my
only need is this extra content-type, not another way of managing the list of
content-types.
When using Flash, if you have the need
Se the new content-type at the bottom (xml):
function DocumentToContentType(FileName : String) : String;
var
Ext : String;
begin
{ We probably should use the registry to find MIME type for file types }
Ext := LowerCase(ExtractFileExt(FileName));
if Length(Ext) 1 then
On Apr 8, 2008, at 09:45, Bjørnar Nielsen wrote:
{ We probably should use the registry to find MIME type for file
types }
Hello:
I don't agree that the Registry should be used, because then you limit
the application to those MIME types registered at the local host. What
I