You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "C. Michael Pilato" <cm...@collab.net> on 2004/05/27 16:07:25 UTC
Re: Are MIME/Types worth the config? (was: Subversion and Project Environments)
Ben Collins-Sussman <su...@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
Re: Are MIME/Types worth the config? (was: Subversion and Project
Environments)
Posted by Gary Affonso <gl...@greywether.com>.
On 5/27/04 9:07 AM, "C. Michael Pilato" <cm...@collab.net> wrote:
> Ben Collins-Sussman <su...@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?
> 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.
Ahhhh <nods head> that answers my question. We aren't providing
browser-based access to the repository so this feature didn't make a lot of
sense to me. I get it now. Thanks!
- Gary
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org