[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 / svn:charset (Was: Re: svn commit: r10100 - trunk/subversion/libsvn_subr)

From: Ben Reser <ben_at_reser.org>
Date: 2004-07-03 21:40:02 CEST

On Tue, Jun 29, 2004 at 04:38:25PM -0400, Francois Beausoleil wrote:
>
> On Tue, 29 Jun 2004 12:32:21 -0700, "Ben Reser" <ben@reser.org> said:
> > On Tue, Jun 29, 2004 at 12:11:17AM -0500, kfogel@tigris.org wrote:
> > $ svn pg svn:mime-type COMMITTERS
> > text/plain; charset=UTF-8
>
> Wouldn't it be better to have a separate svn:charset property, and have
> mod_dav_svn concatenate the two when serving through the browser
> interface ?
>
> That would certainly be "more correct". Charset is not an intrinsic
> property of the MIME type.

Well if we wanna get technical HTTP doesn't use MIME types. It uses
media types. Which most people call MIME types. Which do indeed have
the ability to take parameters. Which includes a charset parameter.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7
http://www.ietf.org/rfc/rfc1590.txt

It was probably a mistake to call the property svn:mime-type. Perhaps
it would be wise to deprecate that name, while still supporting it, and
replace it with svn:media-type, which is more accurately how we're using
it.

Thoughts?

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 3 21:41:05 2004

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.