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

Re: Media-Type for SVNPubSub

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 28 May 2013 03:56:06 -0400

Hmm. Why would the media-type vary based on ${project} ?

It seems like all you would need is application/vnd.apache.pubsub.json

Is there a reason for something more than that?

Cheers,
-g

On Tue, May 28, 2013 at 2:10 AM, Ben Reser <ben_at_reser.org> wrote:
> Right now the SVNPubSub server serves NUL separated JSON data as
> text/plain. This is clearly wrong. But application/json would be
> just as wrong. I'd prefer that we use something more specific than
> application/octet-stream.
>
> On IRC we've been discussing applying for a vendor tree media-type
> registration with IANA.
>
> After discussion Daniel and I agreed to:
> application/vnd.apache-subversion.pubsub-stream+json
>
> We're envisioning the following pattern for Apache projects (and
> assuming there's no objections within the svn-dev community will
> propose it to operations@):
>
> vnd.apache-${project}.${format}
> and
> vnd.apache.${format}
>
> The latter one would be used for cross project formats.
Received on 2013-05-28 09:56:39 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.