#13 ✓resolved
Guilherme Silveira

Implement POST, PUT request parameters parsing driven by media types

Reported by Guilherme Silveira | 2010-04-03 22:12:19 UTC | in v0.7

Rails already offer a way to set a media type parameter parsing scheme, as the documentation shows:

# Assign a new param parser to a new content type ActionController::Base.param_parsers['application/atom+xml'] = Proc.new do |data|

node = REXML::Document.new(post)

{ node.root.name => node.root } end

Therefore, Restfulie must implement a way to enable the user to set specific media types and also support the common ones.

Rails already support XML, JSON and YAML. This feature should also include atom+xml.

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 »

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages