#7 ✓resolved
Guilherme Silveira

Media type support through a registry

Reported by Guilherme Silveira | June 4th, 2010 @ 06:08 PM | in upcoming release

A media type should be an object with two methods: marshal(payload) and unmarshal(request).

Whenever a new media type is registered, it should be done as:

Restfulie.media_types.register("application/xml", MyNewMediaTypeHandler.new)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Restfulie's javascript port

Shared Ticket Bins

Tags

Pages