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

Re: svn commit: r14262 - trunk/subversion/mod_dav_svn

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-05-05 02:01:17 CEST

Branko Čibej wrote:

> Not really. This will catch the case where the mime type was set
> either in the prop or (I assume) by mod_mime, *but* the syntax of the
> value wasn't valid. In that case generic binary is a better choice
> than either generic text or (obviously) an invalid type. Note that
> svn_mime_type_validate won't trigger for "text/plain", which we only
> set explicitly if the svn:mime-type prop doesn't exist at all.

Ah well, and in this case the correct value to use would probably be
whatever is defined by the DefaultType directive in httpd.conf, and only
use text/plain if that's not set.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 5 02:03:39 2005

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

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