[Prev][Next][Index][Thread]

Binding to local file system on NT



I use these functions to bind  files with .txt suffix to
text/plain format on NT:

HTBind_caseSensitive(NO);
HTBind_addType("txt","text/plain",1.0);

When I try to open file:///c:/a.txt, it can tell me the
correct type of a.txt: text/plain
however, if I try tp open file:///c:/a.TXT, it just tell me
the file type is : www/unknown

It seems the HTBindcaseSensitive(NO) doesn't work.

Have I missed something ?
Thanks.
-- 
Tao Jiang     Visiting Scientist, CECI, MIT
email:   jiangt@ceci.mit.edu    URL:  http://ceci.mit.edu/staff/jiangt/