[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn:mime-type property

From: Andrea O. Salas <aos_at_cfdlab.larc.nasa.gov>
Date: 2005-09-08 23:31:30 CEST

Thanks Dale and Kalin for your feedback.

The IE I'm using is version 6 running on Windows XP. I thought about
asking the developer to change his extensions on his files, but
he may not want to do that. At a minimum, I will bring it to the developer's
attention that this problem exists with IE.


Kalin KOZHUHAROV wrote:

> Dale R. Worley wrote:
>> On Wed, 2005-09-07 at 16:34 -0400, Andrea O. Salas wrote:
>>> When I use a netscape browser to look at these two files, they are
>>> immediately displayed.
>>> However, when I use internet explorer, it thinks the .doc file is a
>>> MS Word file and
>>> it doesn't know what the .man file is. I tried setting the
>>> svn:mime-type property for
>>> both of these files to text/plain hoping that the internet explorer
>>> browser would then
>>> know it was text. However, this had no effect on the internet
>>> explorer browser.
>> One way to tell for sure is to find the full URL
>> (http://host/path/foo.doc) by which you can retrieve the file into your
>> browser, then use telnet to pretend you're a browser:
>> $ telnet host 80
>> HEAD /path/foo.doc HTTP/1.0
>> [blank line]
>> Then the host should respond with something like:
>> HTTP/1.0 200 OK
>> Date: Wed, 07 Sep 2005 23:42:04 GMT
>> Server: Apache/1.3.33 (Unix) PHP/5.0.4 mod_ssl/2.8.22 OpenSSL/0.9.7d
>> Content-Type: text/plain
>> The "Content-Type:" header gives the MIME-type of the file. If that
>> header is present and says "text/plain", the browser has no excuse to
>> not display it as such.
> Some (old) versions on IE do not care about the MIME type, but look at
> the file extension only.
> I remember being frustrated about that with a IE for Macintosh (was it
> 4.5?) displaying .shtml files as text.
> The only solution was to rename all of them to .html (and set apache
> to parse all html for SSH, ouch :-(
> What version and OS is that IE? Try to upgrade it. And use Firefox
> anyway.
> Kalin.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 8 23:43:32 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.