W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1996

Re: Registering an extension for text files that should be downloaded

From: Jehoiada W. Bernard <jbernard@servtech.com>
Date: Tue, 22 Oct 1996 22:59:49 -0400
Message-Id: <1.5.4.32.19961023025949.0071a1f0@cyber1.servtech.com>
To: Antoine Bertier <bertier@world-net.sct.fr>
Cc: www-jigsaw@w3.org
By NOT having a mime type configured in the browser, you get the save to
disk dialog. If the server returns text/plain for your .patch file, most
browsers will display it. You need to configure the server to return
something other than text/plain for .patch files.

Jedi
At 09:32 PM 10/22/96 +0200, Antoine Bertier wrote:
>How do I configure a new extension so that the the "save to disk" dialog
>appears when you access it instead of displaying the content in the browser ?
>
>I added extensions .exe and .zip with FileResource and a type of
>application/octet-stream
>and it works fine. However when I do this with a text file (.patch in fact)
>I systematically
>get the content of the patch file displayed (which is definitely not what I
>intend).
>
>Since I do not really what to enter for the type and encoding, I suspect I
>am missing
>something here... but what ?
>
>Antoine BERTIER
>bertier@world-net.sct.fr
>
>
>
Received on Tuesday, 22 October 1996 23:00:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT