Article delegate-en/2613 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A2612@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] media-types to be added
11 May 2004 16:16:17 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


On 05/12/04(00:57) you feedback@delegate.. (Yutaka Sato) wrote
in <_A2612@delegate-en.ML_>
 |FILETYPE parameter is intended to add non-standard types, but "text/css"
 |is standard enough to be added into "filetype.c".  There are many
 |media-types registered at IANA which should be listed in "filetype.c".
 |<URL:ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types>

What I should have referred is the original list on IANA,
<URL:http://www.iana.org/assignments/media-types/>
But even in the latest list, there seems to be so many types not yet
registered despite they are used so widely.

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

*** dist/delegate8.9.3/src/filetype.c	Wed Mar 19 06:26:32 2003
--- src/filetype.c	Wed May 12 01:08:55 2004
***************
*** 48,53 ****
--- 48,54 ----
  static char *dflt_filetypes[] = {
  	".txt    :0 :TXT :text       :text/plain",
  	".c      :0 :TXT :text       :text/plain",
+ 	".css    :0 :TXT :text       :text/css",
  	".curl   :0 :TXT :text       :text/vnd.curl",
  	".cur    :0 :TXT :text       :text/vnd.curl",
  	".h      :0 :TXT :text       :text/plain",
***************
*** 55,60 ****
--- 56,63 ----
  	".html   :0 :HTM :text       :text/html",
  	".dhtml  :0 :HTM :text       :text/html",
  	".htm    :0 :HTM :text       :text/html",
+ 	".xml    :0 :HTM :text       :text/xml",
+ 	".js     :0 :JS  :text       :text/javascript",
  	".ps     :0 :PS  :document   :application/postscript",
  	".ppt    :I :PPT :document   :application/vnd.ms-powerpoint",
  	".ico    :I :ICO :image      :image/x-icon",
***************
*** 75,80 ****
--- 78,84 ----
  	".exe    :9 :EXE :binary     :application/octet-stream",
  	".dll    :9 :DLL :binary     :application/octet-stream",
  	".pac    :0 :PAC :text       :application/x-ns-proxy-autoconfig",
+ 	".swf    :I :SWF :image      :application/x-shockwave-flash",
  	"README  :0 :TXT :text       :text/plain",
  	"INDEX   :0 :TXT :text       :text/plain",
  	"HELP    :0 :TXT :text       :text/plain",

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V