Implement POST, PUT request parameters parsing driven by media types
-
Guilherme Silveira
- State changed from resolved to open
Currently not accepting requests without parameters. How to reproduce it:
rails xpto
cd xpto
script/generate controller entries
script/server
vi config/enviroment.rbconfig.gem 'restfulie', :version => '0.7'
vi app/controllers/entries_controller.rb
def index
render :text => 'hi'
end
-
Cipriani
- State changed from open to resolved
it's fixed. The behavior now is: every request that came with certain media type not registered in Restfulie and has entity body length greater than zero, it will generate 415 code
-
Guilherme Silveira
- State changed from resolved to open
It was missing a check for env["CONTENT_LENGTH"] existence.
-
Guilherme Silveira
- State changed from open to resolved
Simple if case added here
http://github.com/caelum/restfulie/commit/481dae05406da00dfe4b10407...
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.