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

Re: svn:mime-type arbitrary parameters

From: Ben Reser <ben_at_reser.org>
Date: Mon, 27 Oct 2014 10:45:19 -0700

On 10/26/14 11:35 AM, Branko Čibej wrote:
> The fact that the svn:mime-type property is usable in any way for
> serving content from the repository is more or less an accident; it's
> definitely not a design goal. What you propose would have zero benefit
> for Subversion as a version control system but less than trivial
> maintenance costs, so it's not likely to ever happen.

I agree splitting up well known parameters of the Internet Media Type into
standard "svn:" namespace properties seems not terribly useful to me.

I don't think the choice of storing a mime-type rather than just a boolean for
binary data vs not-binary is a happy accident. Pretty sure we stored a
mime-type because we figured it would be useful for other things than just
distinguishing binary types. But as I recall you're the one that came up with
the svn:mime-type property in the first place. So maybe you have a better
recollection than I do about this.

Honestly, I don't see what's unwieldy about using the the Internet Media Type
parameters in his case (syntax parameter for markdown). The title example
given earlier in the thread seems like an example that should go in some other
property in the case of Subversion.

Basically if it isn't useful in the Content-Type field of the HTTP protocol, I
can't fathom why you'd shove it into svn:mime-type.
Received on 2014-10-27 18:47:21 CET

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.