W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1996

Binding to local file system on NT

From: Jiang Tao <jiangt@ceci.mit.edu>
Date: Tue, 26 Mar 1996 17:57:31 -0500
Message-Id: <3158765B.64880EEB@ceci.mit.edu>
To: W3C Lib <www-lib@w3.org>
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/
Received on Tuesday, 26 March 1996 17:57:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:26 GMT