Clip2gif to convert any PICT files into GIF images. • HTML Grinder to sequentially link each of the HTML files together as well as create ...
Document source : haddockdot.no-ip.biz
When a filename does not have a suffix (example suffixes include: .txt, .html, .au,
.cgi, .acgi) the DEFAULT directive takes effect. The syntax is: DEFAULT <default
transfer type> <default MIME type>.
When MacHTTP is requested to deliver a file to a client, there are only two possible
transfer types: BINARY and TEXT. BINARY transfers are used for files that can
only be read by computers. TEXT transfers are for files that can be read by humans
as well as computers. MIME types are universal file-type and encoding-type pairs
describing files. MIME types originated out of the need to send files as enclosures
through divergent email systems. (More about transfer and MIME types are
discussed in the TEXT directive section.)
Examples:
· DEFAULT TEXT text/html
· DEFAULT TEXT text/plain
· DEFAULT TEXT application/mac-binhex40
· DEFAULT BINARY audio/x-aiff
The first example is the one that will be used by the vast majority of MacHTTP
administrators. It means if a file does not have a suffix, then the file will be
transferred to the client application using the TEXT transfer mode and the file is
expected to be ASCII text file formatted in HTML.
The second example assumes files without suffixes are simple text files without any
formatting.
The third examples assume files without suffixes are BinHex'd files and the client
application should deBinHex the file once it is received.
Summary :
It means if a file does not have a suffix, then the file will be transferred to the client application using the TEXT transfer mode and the file is expected to be ASCII text file formatted in HTML.
Tags :
text,files,file,default,mime,transfer,types,without,client,suffixes,binary,example,does