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

Re: MIME type meta-data

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-03-07 04:16:28 CET

William Uther wrote:

>
> On Friday, March 7, 2003, at 06:09 AM, Matthew Hambley wrote:
>
>> In which case I'd like to take a crack at it. Where would people who
>> know
>> the source better than I recommend the platform dependent code should
>> go.
>> Should I put it in svn_io_detect_mimetype in libsvn_subr/io.c or
>> should it
>> go somewhere else and be called from io.c?
>
>
> The platform dependant code should go in apr or apr-util, not svn.
> Right?

Read the whole thread. Right? :-)

I wrote:

>Regarding the nonexistence of mime-type detection in APR:
>
> 1. There's no rule that says we can't add something like that to APR,
> if the design is well thought out.
> 2. There's also no rule that says *all* our system-specific code
> should come from APR. First, we have some such code in Subversion
> (code that definitely doesn't fit into APR), and second, we can
> get such code designed, coded and tested within Subversion, and
> *then* push it into APR, if it turns out that's appropriate.
>

At this point, i'm not at all convinced that MIME-type detection is
something that fits in apr. It *definitely* doesn't fit into apr-util,
because apr-util shouldn't contain platform-dependent code.

In any case, it makes sense to implement and test it in Subversion first.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 7 04:17:18 2003

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.