Re: svn commit: r38567 - in branches/1.6.x: . subversion/mod_dav_svn

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.rapidsvn.devel,gmane.comp.version-control.subversion.svn
Organization CollabNet, Inc.
Message-ID <4A799675.6060803__14285.0589858883$1249482417$gmane$org@collab.net>
Stephen Butler wrote:
> Author: sbutler
> Date: Wed Aug  5 06:47:59 2009
> New Revision: 38567
> 
> Log:
> Merge r36720 from trunk.

[...]

> Modified: branches/1.6.x/subversion/mod_dav_svn/liveprops.c
> URL: http://svn.collab.net/viewvc/svn/branches/1.6.x/subversion/mod_dav_svn/liveprops.c?pathrev=38567&r1=38566&r2=38567
> ==============================================================================
> --- branches/1.6.x/subversion/mod_dav_svn/liveprops.c	Wed Aug  5 06:42:19 2009	(r38566)
> +++ branches/1.6.x/subversion/mod_dav_svn/liveprops.c	Wed Aug  5 06:47:59 2009	(r38567)
> @@ -466,7 +466,7 @@ insert_prop(const dav_resource *resource
>                       && resource->info->r->content_type)
>                mime_type = resource->info->r->content_type;
>              else
> -              mime_type = ap_default_type(resource->info->r);
> +              mime_type = "application/octet-stream";
>  
>              if ((serr = svn_mime_type_validate(mime_type, p)))
>                {

Sorry if/that I missed the discussion, but how was
"application/octet-stream" chosen as the appropriate substitution here?  In
Apache 2.2, DEFAULT_CONTENT_TYPE is set (by default) to "text/plain", and
the default value of DefaultType configuration directive is "text/plain".
Did this change in 2.4?

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=495&dsMessageId=2380476
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkp5ln4ACgkQokEGqRcG/W4RKQCgrTJpWDdE0/38X+9NLCqA1fNx
+yMAnAwOF0qWFIrwOf/oWAPZsikQVaRB
=DEzX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.