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

Re: Are MIME/Types worth the config? (was: Subversion and Project Environments)

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-05-27 18:07:25 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> On Thu, 2004-05-27 at 01:15, Gary Affonso wrote:
> > Which leads me to ask...
> >
> > Is there any good reason to go to the work of defining auto-properties to
> > ensure that things like .jar, .jpg, .gif, etc. are all tagged with the
> > appropriate mime/type?
> >
> > I can't see any benefit to it for web-sites. As long as the repository is
> > properly seeing them as binary, I'm happy. But maybe I'm missing some
> > benefit.
> >From chapter 7:
> "Also, if the svn:mime-type property is set, then the Subversion Apache
> module will use its value to populate the Content-type: HTTP header when
> responding to GET requests. This gives a crucial clue about how to
> display a file when perusing your repository with a web browser."

In other words, if your website is only served up via a Subversion
working copy, then, no, there's no reason to bother with the precise
mime-type settings. But if you ever want to refer directly to
Subversion repository URLs, browser presentation will be greatly
improved for those things.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 27 18:08:22 2004

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.