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

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

From: Peter Samuelson <peter_at_p12n.org>
Date: Wed, 5 Aug 2009 09:51:53 -0500

> > Merge r36720 from trunk.

[C. Michael Pilato]
> 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?

I didn't see any "discussion", but Greg's original log explains:

| If we can't figure out a good mime type to use, then we'll default to
| a bag o' bytes: application/octet-stream.

Certainly application/octet-stream is a reasonable way to express "this
is a byte stream that we don't know anything about". At the same time,
it's reasonable for a web server to default to "text/plain", if it is
serving mostly content that is viewable in a web browser.

The question then is whether the content and expectations of a typical
static HTTP root are significantly different from the content and
expectations of a typical Subversion repository.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2380488
Received on 2009-08-05 16:52:28 CEST

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.