John D. Ramsdell wrote: > > The MIME type associated with JAR files received from an Apache server > on various machines is incorrect. It returns a content type of > text/plain, however, JAR files should be treated as binary data. > Maybe the defaults shipped with the server need repair.
The Apache default configuration doesn't assign an IMT to the .jar file suffix. Individual server administrators are welcome to add the following line to their Apache configuration files: AddType application/octet-stream jar When the server determines that the document to be sent is actually a file, and it can't find an IMT for any suffixes the file may have, it assigns the IMT defined by the DefaultType server configuration directive. By default, this is set to "text/plain". So the server administrator's options are basically two: add a line to correctly identify the IMT for .jar files, or mark all unknown files as application/octet-stream. The former is clearly the better choice. #ken P-)}
